diff options
-rwxr-xr-x | adjtime.cron | 3 | ||||
-rwxr-xr-x | rc.sysinit | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/adjtime.cron b/adjtime.cron new file mode 100755 index 0000000..40c02f2 --- /dev/null +++ b/adjtime.cron @@ -0,0 +1,3 @@ +#!/bin/sh +# Update our hwclock for system drift +/sbin/hwclock --adjust @@ -301,6 +301,7 @@ if [ "$TIMEZONE" != "" -a -e "/usr/share/zoneinfo/$TIMEZONE" ]; then /bin/cp "/usr/share/zoneinfo/$TIMEZONE" /etc/localtime fi +/sbin/hwclock --adjust #Adjust for system drift /sbin/hwclock $HWCLOCK_PARAMS stat_done |