#1984 closed task (fixed)
hwclock man page is incorrect
| Reported by: | Arthur Demchenkov | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Book | Version: | SVN |
| Severity: | normal | Keywords: | |
| Cc: |
Description
As we know /etc/adjtime is changed to /var/lib/hwclock/adjtime in the util-linux sources.
But there's still man page of hwclock remain with no changes.
So I suppose it's better to change the instruction
sed -i 's@etc/adjtime@var/lib/hwclock/adjtime@g' \
hwclock/hwclock.c
to
sed -e 's@etc/adjtime@var/lib/hwclock/adjtime@g' -i $(grep -rl '/etc/adjtime' .)
And I think it's a good idea to add this instruction to setclock bootscript:
hwclock --adjust
Just like this:
start)
boot_mesg "Setting system clock..."
hwclock --adjust &>/dev/null
hwclock --hctosys ${CLOCKPARAMS} &>/dev/null
evaluate_retval
;;
Note:
See TracTickets
for help on using tickets.

Fixed in r8065.