save ntpdate time to hardware clock
authorStephen Soltesz <soltesz@cs.princeton.edu>
Fri, 17 Jul 2009 22:03:36 +0000 (22:03 +0000)
committerStephen Soltesz <soltesz@cs.princeton.edu>
Fri, 17 Jul 2009 22:03:36 +0000 (22:03 +0000)
initscripts/pl_sysinit

index 5cff15d..136c254 100755 (executable)
@@ -147,3 +147,5 @@ echo $(date "+%H:%M:%S") "pl_sysinit: bringing network online"
 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