10 Dec
2004
10 Dec
'04
04:17
--- Darryl Gregorash
Dmitry Ryachovsky wrote:
--- Darryl Gregorash
wrote: Actually, the system halt script (/etc/init.d/halt) updates the hardware clock from the system clock, every time the system shuts down (which includes rebooting, since it uses the same script).
Nope - at least not in SuSE...
cat /etc/init.d/halt:
<snip> if test "$HOSTTYPE" = "s390" ; then HWCLOCK_ACCESS=no fi if test "$HWCLOCK_ACCESS" != "no" ; then echo -n "Set Hardware Clock to the current System Time" # write back to hardware clock and calculate adjtime /sbin/hwclock --systohc $HWCLOCK rc_status -v -r fi <snip>
What version are you running? There is nothing like this on my 9.1 :) Dmitry