Merge pull request #2 from djs55/remove-ntp

boot2docker: remove ntp, sync with host clock every hour
This commit is contained in:
Dave Scott 2015-12-03 22:08:00 +00:00
commit 5bcd028a2e
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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