Xbox ~ # date
Sat Jun 2 05:34:37 UTC 2007
then i run:
Xbox ~ # ln -sf /usr/share/zoneinfo/America/GMT /etc/localtime
Xbox ~ # date
Sat Jun 2 05:35:24 UTC 2007
notice the same UTC timezone not GMT? I am logged in as root and this command is supposed to change your time zone. So why is it being ignored? I used it successfully once, but unfortunately i changed it to the wrong time zone and now it's stuck there. Can anyone help me?
thanks, lateralus
why is this command being ignored?
Dunno what the problem is =/
Code: Select all
xbox etc # date
Sun Jun 3 19:59:58 PDT 2007
xbox etc # rm localtime
xbox etc # ln -s /usr/share/zoneinfo/GMT localtime
xbox etc # date
Mon Jun 4 03:00:16 GMT 2007
xbox etc # rm localtime
xbox etc # ln -s /usr/share/zoneinfo/America/Vancouver localtime
xbox etc # date
Sun Jun 3 20:00:34 PDT 2007
oh, wait, forgot about /etc/conf.d/clock. I assume yours still lists UTC as the "CLOCK" setting...
# /etc/conf.d/clock
# Set CLOCK to "UTC" if your system clock is set to UTC (also known as
# Greenwich Mean Time). If your clock is set to the local time, then
# set CLOCK to "local". Note that if you dual boot with Windows, then
# you should set it to "local".
CLOCK="local"
# Select the proper timezone. For valid values, peek inside of the
# /usr/share/zoneinfo/ directory. For example, some common values are
# "America/New_York" or "EST5EDT" or "Europe/Berlin".
TIMEZONE="America/Vancouver"
# If you wish to pass any other arguments to hwclock during bootup,
# you may do so here.
CLOCK_OPTS=""
# If you want to set the Hardware Clock to the current System Time
# during shutdown, then say "yes" here.
CLOCK_SYSTOHC="no"
### ALPHA SPECIFIC OPTIONS ###
# If your alpha uses the SRM console, set this to "yes".
SRM="no"
# If your alpha uses the ARC console, set this to "yes".
ARC="no"
# /etc/conf.d/clock
# Set CLOCK to "UTC" if your system clock is set to UTC (also known as
# Greenwich Mean Time). If your clock is set to the local time, then
# set CLOCK to "local". Note that if you dual boot with Windows, then
# you should set it to "local".
CLOCK="local"
# Select the proper timezone. For valid values, peek inside of the
# /usr/share/zoneinfo/ directory. For example, some common values are
# "America/New_York" or "EST5EDT" or "Europe/Berlin".
TIMEZONE="America/Vancouver"
# If you wish to pass any other arguments to hwclock during bootup,
# you may do so here.
CLOCK_OPTS=""
# If you want to set the Hardware Clock to the current System Time
# during shutdown, then say "yes" here.
CLOCK_SYSTOHC="no"
### ALPHA SPECIFIC OPTIONS ###
# If your alpha uses the SRM console, set this to "yes".
SRM="no"
# If your alpha uses the ARC console, set this to "yes".
ARC="no"
Also check this link
http://www.gentoo.org/doc/en/gentoo-x86 ... nstall.xml
You might be looking to copy instead of soft link your timezone.
http://www.gentoo.org/doc/en/gentoo-x86 ... nstall.xml
You might be looking to copy instead of soft link your timezone.