el_supremo
08-18-2004, 03:17 AM
Up to now I've been ignoring the fact that when I boot Knoppix 3.4 (2004/.5.17) the local timezone is assumed to be EDT America/NewYork. But I'm trying to get a satellite prediction program working and my timezone has to be correct.
I have determined that my hardware clock is set to local time.
When I boot with the cheatcode:
tz=America/Regina
it makes no difference to the displayed timezone. It's still EDT but should be CST and the /etc/localtime file is also EDT.
I've put some debugging in knoppix.sh and the TZ variable is being set to the correct zone from the tz= cheatcode but it makes no difference.
If I do the following as superuser:
TZ=America/Regina
export TZ
hwclock -s
the monitor goes weird until I hit a key but then the timezone has been set correctly.
Why doesn't specifying the correct tz= cheatcode set the correct time at boot up and how do I fix it?
Best Wishes
Pete
I have determined that my hardware clock is set to local time.
When I boot with the cheatcode:
tz=America/Regina
it makes no difference to the displayed timezone. It's still EDT but should be CST and the /etc/localtime file is also EDT.
I've put some debugging in knoppix.sh and the TZ variable is being set to the correct zone from the tz= cheatcode but it makes no difference.
If I do the following as superuser:
TZ=America/Regina
export TZ
hwclock -s
the monitor goes weird until I hit a key but then the timezone has been set correctly.
Why doesn't specifying the correct tz= cheatcode set the correct time at boot up and how do I fix it?
Best Wishes
Pete