From: Andrea R. <ar...@sy...> - 2006-09-19 21:33:55
|
Author: arighi Date: 2006-09-19 16:33:44 -0500 (Tue, 19 Sep 2006) New Revision: 3747 Modified: trunk/initrd_source/skel/etc/init.d/functions Log: - added SKIP_LOCAL_CFG option; if it is 'y' (in the kernel boot parameters) the check to find local.cfg will be skipped, saving a lot of time with servers that doesn't properly support floppy controllers Modified: trunk/initrd_source/skel/etc/init.d/functions =================================================================== --- trunk/initrd_source/skel/etc/init.d/functions 2006-09-19 19:18:03 UTC (rev 3746) +++ trunk/initrd_source/skel/etc/init.d/functions 2006-09-19 21:33:44 UTC (rev 3747) @@ -849,6 +849,11 @@ logmsg logmsg read_local_cfg + if [ "x$SKIP_LOCAL_CFG" = "xy" ]; then + logmsg "skipping local.cfg: option SKIP_LOCAL_CFG=y has been specified" + return + fi + # # BEGIN try hard drive # |