Hi Andrea,

wouldn't it make more sense to invert the usage logic of this?
As local.cfg is a rather rarely used option (IMHO), something like
READ_LOCAL_CFG which enables or forces the reading of the local config would
seem more appropriate.

Regards,
Erich

On Sunday 06 August 2006 16:07, Andrea Righi wrote:
> Hi all,
> 
> what about adding an option to explicitly skip the check for local.cfg?
> This could resolve some problems and reduce bad warnings in clients that
> have not a floppy drive and in general it can speed-up a bit the
> installation time (when the option is used)...
> 
> -Andrea
> 
> ===================================================================
> --- initrd_source/skel/etc/init.d/functions     (revision 3716)
> +++ initrd_source/skel/etc/init.d/functions     (working copy)
> @@ -832,6 +832,11 @@
>      logmsg
>      logmsg read_local_cfg
> 
> +    if [ "x$SKIP_LOCAL_CFG" = "xy" ]; then
> +        logmsg "skipping local.cfg (SKIP_LOCAL_CFG=y in kernel boot
> parameters)"
> +        return
> +    fi
> +
>      #
>      # BEGIN try hard drive
>      #


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sisuite-devel mailing list
Sisuite-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-devel

Reply via email to