add call to net initialization script
authorAaron Klingaman <alk@cs.princeton.edu>
Thu, 2 Dec 2004 00:00:04 +0000 (00:00 +0000)
committerAaron Klingaman <alk@cs.princeton.edu>
Thu, 2 Dec 2004 00:00:04 +0000 (00:00 +0000)
don't scan floppy disks for the boot cd. :)

conf_files/pl_sysinit

index 0fded15..ec036d0 100755 (executable)
@@ -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
+