I need to set the timezone on a Linux system (embedded busybox distro) but i don’t have a /etc/timezone nor a /usr/share/zoneinfo. How do I set the timezone?
I set the hardware clock to utc with:
hwclock –set –date=18:15:30 –utc
and then thought I could use ‘export TZ=PST8PDT’ in /etc/profile to get the correct time with date but this doesn’t seem to work. I still see this:
# date
Wed May 30 18:17:42 PDT 2012
Thanks!
Ron
had to set the correct timezone in /etc/TZ, set the hwclock to utc with the –set and –utc flags and use hwclock –systohc to store the system time in the hardware clock.