diff options
author | Aaron Griffin <aaronmgriffin@gmail.com> | 2009-03-09 14:09:56 -0700 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2009-03-09 14:46:08 -0700 |
commit | c206cfd1de94e2e79c1d9d42dc8f44f140d4c3f8 (patch) | |
tree | 10b51d7d2dbd0bbdc69ee6e665b0fbcd40536fc8 /adjtime.cron | |
parent | 5d0fb0ef703ca78f399aadce43dd813effda52f5 (diff) |
Add adjtime handling to hwclock init
The hwclock man page recommends calling hwclock with --adjust
at start time, and periodically during system run. So let's do
that here.
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'adjtime.cron')
-rwxr-xr-x | adjtime.cron | 3 |
1 files changed, 3 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 |