[Voyage-linux] Testing pre-0.8.0 - hwclock
Teco Boot
(spam-protected)
Fri Sep 16 20:43:10 HKT 2011
Hi Punky,
I started testing 0.8.0. Development: VMware, target Alix6.
I'll post my findings.
hwclock
=======
During shutdown, there is an error:
Saving the system clock.
Cannot access the Hardware Clock via any known method.
I adjusted /etc/init.d/hwclock.sh - hwclockfirst.sh for saving & resoring clock during (soft)reboot:
HWCLOCKPARS="--directisa -u --noadjfile"
Ref:
http://www.pcengines.info/forums/?page=post&id=27136143-ABFC-4447-87DE-2B942342FE71&fid=40251191-FF24-48A8-BB0E-995B04812ADE
It would be nice to add the parm in a /etc/default/hwclock file, with content:
# Defaults for hwclock.sh and hwclockfirst.sh initscripts
# Set this to any options you might need to give to hwclock, such
# as machine hardware clock type for Alphas.
HWCLOCKPARS="--directisa -u --noadjfile"
And update the initscripts with:
# Include hwclock defaults if available
if [ -f /etc/default/hwclock ] ; then
. /etc/default/hwclock
fi
Thanks, Teco
More information about the Voyage-linux
mailing list