git://git.onelab.eu
/
bootcd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
save ntpdate time to hardware clock
[bootcd.git]
/
initscripts
/
pl_sysinit
diff --git
a/initscripts/pl_sysinit
b/initscripts/pl_sysinit
index
5cff15d
..
136c254
100755
(executable)
--- a/
initscripts/pl_sysinit
+++ b/
initscripts/pl_sysinit
@@
-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