#------------------------------------------------------------------------------ # /etc/rc.d/rc099.lnk - create links __FLI4LVER__ # # Creation: 22.05.2002 Alexander Krause # Last Update: $Id$ # # report errors to: Christoph Schulz #----------------------------------------------------------------------------- if [ "$OPT_LNK" = yes ] then begin_script LNK "linking ..." for idx in `seq $LNK_N` do eval lnk_opt='$LNK_OPT_'$idx eval lnk_dst='$LNK_DST_'$idx eval lnk_src='$LNK_SRC_'$idx rm -rf $lnk_dst ln $lnk_opt $lnk_src $lnk_dst log_info "$lnk_dst linked to $lnk_src" done end_script fi