From 749e867084079b9017a81f4642ba19bcc9384bf8 Mon Sep 17 00:00:00 2001 From: parmentelat Date: Mon, 17 Dec 2018 21:15:00 +0100 Subject: [PATCH] cosmetic --- initscripts/pl_boot | 4 ++-- initscripts/pl_sysinit | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/initscripts/pl_boot b/initscripts/pl_boot index 2f57cf5..5f7eb3f 100755 --- a/initscripts/pl_boot +++ b/initscripts/pl_boot @@ -6,9 +6,9 @@ exec 2>&1 exec > /dev/console ### -. /etc/init.d/pl_functions +source /etc/init.d/pl_functions -. /tmp/planet.cnf +source /tmp/planet.cnf # Run gpg once to create default options GNUPGHOME=/root 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 -- 2.43.0