X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=conf_files%2Fpl_sysinit;h=ec036d013a638aed2b446b2d85102f3786e0bf45;hb=f19f29e7a0244055c30381711c8fc9907aded62f;hp=0fded153e0388bcdc423cd1e2aeaeab69b0d7425;hpb=ae630dd9386c6c20bc5a009c68e9b0008d76837d;p=bootcd.git 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 +