mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 09:16:29 +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
|
# resync with the host clock every hour
|
||||||
0 * * * * killall ntpd > /dev/null 2>&1; /etc/rc.d/ntpd
|
0 * * * * hwclock -s
|
||||||
|
@ -25,7 +25,7 @@ test -f "/var/lib/boot2docker/profile" && . "/var/lib/boot2docker/profile"
|
|||||||
/etc/rc.d/hostname
|
/etc/rc.d/hostname
|
||||||
|
|
||||||
# sync the clock
|
# sync the clock
|
||||||
/etc/rc.d/ntpd &
|
#/etc/rc.d/ntpd &
|
||||||
|
|
||||||
# start cron
|
# start cron
|
||||||
/etc/rc.d/crond
|
/etc/rc.d/crond
|
||||||
|
Loading…
Reference in New Issue
Block a user