Opened 18 years ago

Closed 18 years ago

Last modified 17 years ago

#1984 closed task (fixed)

hwclock man page is incorrect

Reported by: Arthur Demchenkov Owned by: lfs-book@…
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
                ;;

Change History (2)

comment:1 by Matthew Burgess, 18 years ago

Resolution: fixed
Status: newclosed

Fixed in r8065.

comment:2 by Jeremy Huntwork, 17 years ago

Milestone: 6.3

Milestone 6.3 deleted

Note: See TracTickets for help on using tickets.