X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=initscripts%2Fpl_sysinit;h=d27f910b0e9efea8750aa2efdcc155afe8b64314;hb=749e867084079b9017a81f4642ba19bcc9384bf8;hp=25cba4e52a90d0eba5b26df7875559dd7774f46e;hpb=7428db3606354833b77f2ed33d928f7ac804011f;p=bootcd.git diff --git a/initscripts/pl_sysinit b/initscripts/pl_sysinit index 25cba4e..d27f910 100755 --- a/initscripts/pl_sysinit +++ b/initscripts/pl_sysinit @@ -6,7 +6,7 @@ exec 2>&1 exec > /dev/console ### -. /etc/init.d/pl_functions +source /etc/init.d/pl_functions verbose-message "PlanetLab BootCD - distro @PLDISTRO@ based on @FCDISTRO@" @@ -60,7 +60,7 @@ function check-block-devices() { start_device=${device:0:2} if [ "$start_device" == "ra" ] || [ "$start_device" == "md" ] || - [ "$start_device" == "lo" ] || [ "$start_device" == "fd" ]; then + [ "$start_device" == "lo" ] || [ "$start_device" == "fd" ]; then continue fi @@ -151,19 +151,19 @@ verbose-message "pl_sysinit: creating device mapper control node" create-device-mapper-node verbose-message "pl_sysinit: configuring kernel parameters" -verbose-run /sbin/sysctl -e -p /etc/sysctl.conf +verbose-run /sbin/sysctl -e -p /etc/sysctl.conf # startup rsyslog if available (we're *NOT* running the standard rc) syslog=/etc/rc.d/init.d/rsyslog if [ -x $syslog ]; then verbose-message "pl_sysinit: starting rsyslog" - verbose-run $syslog start + verbose-run $syslog start else verbose-message "pl_sysinit: WARNING cannot start rsyslog" fi verbose-message "pl_sysinit: bringing network online" -verbose-run /etc/init.d/pl_netinit +verbose-run /etc/init.d/pl_netinit function sync-clock() { /usr/sbin/ntpdate -b -t 10 -u pool.ntp.org