#!/bin/sh
+. /etc/init.d/pl_functions
+
echo ""
echo "PlanetLab BootCD - distro @PLDISTRO@ based on @FCDISTRO@"
echo $(date "+%H:%M:%S") "pl_sysinit: configuring kernel parameters"
/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
+[ -x $syslog ] && $syslog start
+
echo ""
echo $(date "+%H:%M:%S") "pl_sysinit: bringing network online"
/etc/init.d/pl_netinit
+# just in case, sometimes we're seeing weird stuff already at this point
+pl_network_sanity_checks
+
echo ""
echo $(date "+%H:%M:%S") "pl_sysinit: attempting to sync clock"
/usr/sbin/ntpdate -b -t 10 -u pool.ntp.org
+# save ntp clock to hardware
+/sbin/hwclock --systohc --utc