TBLinux:Changing the Time Zone
Candy Chan (Talk | contribs) |
Candy Chan (Talk | contribs) |
||
Line 7: | Line 7: | ||
|} | |} | ||
+ | |||
The above set the timezone for the bash shell only. To configure the time system-wide, manually change the file /etc/localtime to point to the right timezone.<br> | The above set the timezone for the bash shell only. To configure the time system-wide, manually change the file /etc/localtime to point to the right timezone.<br> | ||
Line 15: | Line 16: | ||
You can check for the correct timezone name inside that directory "/usr/share/zoneinfo/../..". | You can check for the correct timezone name inside that directory "/usr/share/zoneinfo/../..". | ||
+ | |||
'''You need to restart Toolpack for it to apply the changes.''' E.g. Timestamps in toolpack logs. | '''You need to restart Toolpack for it to apply the changes.''' E.g. Timestamps in toolpack logs. |
Revision as of 21:23, 20 September 2011
The time zone of a Tmedia unit, such as the TMG800 or TMG3200, is configured on the Linux host using the tzselect
command.
The following is provided as a sample of how to configure a time zone:
NOTE: User-typed parameters are shown in red.
|
The above set the timezone for the bash shell only. To configure the time system-wide, manually change the file /etc/localtime to point to the right timezone.
$ rm /etc/localtime
$ ln -s /usr/share/zoneinfo/America/Fortaleza /etc/localtime
You can check for the correct timezone name inside that directory "/usr/share/zoneinfo/../..".
You need to restart Toolpack for it to apply the changes. E.g. Timestamps in toolpack logs.