mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-18 17:01:07 +00:00
Merge pull request #2 from djs55/remove-ntp
boot2docker: remove ntp, sync with host clock every hour
This commit is contained in:
commit
5bcd028a2e
@ -1,2 +1,2 @@
|
||||
# restart ntpd to combat laptop sleep + VM pause
|
||||
0 * * * * killall ntpd > /dev/null 2>&1; /etc/rc.d/ntpd
|
||||
# resync with the host clock every hour
|
||||
0 * * * * hwclock -s
|
||||
|
@ -25,7 +25,7 @@ test -f "/var/lib/boot2docker/profile" && . "/var/lib/boot2docker/profile"
|
||||
/etc/rc.d/hostname
|
||||
|
||||
# sync the clock
|
||||
/etc/rc.d/ntpd &
|
||||
#/etc/rc.d/ntpd &
|
||||
|
||||
# start cron
|
||||
/etc/rc.d/crond
|
||||
|
Loading…
Reference in New Issue
Block a user