Package: fake-hwclock
Version: 0.1
Severity: normal

Hi,

currently fake-hwclock loads the hwclock state in initrd.  Unfortunately
not all our systems that need fake-hwlock boot using an initrd - for
instance our octeon mips machines don't.

The usual hwclock script runs in S, from /etc/rcS.d/S05hwclockfirst in
our case.

It would probably make sense and it's AFAICS sufficient to do the
fake-hwclock at the same time, no need to do it in the initramfs.


I have changed our init script to include the following:
| # Default-Start:     S
| # X-Start-Before:    checkroot
[taken from S05hwclockfirst]

and
|  start)
|        /bin/fake-hwclock load
|        ;;
|  status)
|        echo "We think it's currently `date -u`."
|        ;;

Also, as a side node, the init script probably should not use full paths,
and instead should set and export PATH at the top.

Cheers,
weasel



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to