From: Aaron Klingaman Date: Thu, 2 Dec 2004 00:00:04 +0000 (+0000) Subject: add call to net initialization script X-Git-Tag: bootcd_3-0_beta1~28 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=f19f29e7a0244055c30381711c8fc9907aded62f;p=bootcd.git add call to net initialization script don't scan floppy disks for the boot cd. :) --- diff --git a/conf_files/pl_sysinit b/conf_files/pl_sysinit index 0fded15..ec036d0 100755 --- a/conf_files/pl_sysinit +++ b/conf_files/pl_sysinit @@ -5,9 +5,6 @@ echo "pl_sysinit: bringing system online" echo "pl_sysinit: mounting file systems" /bin/mount -v -a -echo "pl_sysinit: bringing loopback network device up" -/sbin/ifconfig lo 127.0.0.1 up - echo "pl_sysinit: invoking hardware initialization script" /etc/init.d/pl_hwinit @@ -20,10 +17,11 @@ mkdir /usr for device in $test_devices; do device=$(/bin/basename $device) - # skipping any devices that start with md or ra (ram) or lo (loop) + # skipping any devices that start with md or ra (ram) or lo (loop) or + # fd (floppy) start_device=${device:0:2} if [ "$start_device" == "ra" ] || [ "$start_device" == "md" ] || - [ "$start_device" == "lo" ]; then + [ "$start_device" == "lo" ] || [ "$start_device" == "fd" ]; then continue fi @@ -74,3 +72,7 @@ else echo "pl_sysinit: unable to create device mapper control node, continuing" fi + +echo "pl_sysinit: bringing network online" +/etc/init.d/pl_netinit +