Every time I would go through a suspend/resume cycle on my Dell laptop, the 
clock would loose five hours. Since I'm five hours behind GMT, this seemed an 
odd coincidence. I believe the problem is with hwclock in that it does not 
have a default UTC vs. Local mode. It attempts to guess which mode was used 
last. 

 So, in /etc/sysconfig/apm-scripts/resume.d/7clock I changed:

CLOCK=""
[ "$UTC" = "yes" -o "$UTC" = "true" -o "$UTC" = 1 ] && CLOCK="-u"

   to:

CLOCK="--localtime"
[ "$UTC" = "yes" -o "$UTC" = "true" -o "$UTC" = 1 ] && CLOCK="--utc"

 this seems to have my problem. 


   Randy K. Wilson

Reply via email to