Auto Install for Mandrakelinux
Prev Next

timezone

This option is used to set the Time zone for the computer and to indicate if the computers hardware clock is set to UTC (GMT) or not.

'timezone' => {


'UTC' => 1,

'ntp' => 'time-server.eastcott.net',

'timezone' => 'Canada/Mountain'

},

Descriptions:

'UTC'

how is the hardware clock set:


0 means it is set for the local timezone.


1 means it is set to GMT.

'ntp'

set to the fully qualified domain name for the time server that you want to access. See http://www.ntp.org for a list of known time servers in your area and, more IMPORTANTLY, the rules governing their access. See also the file /etc/ntp.conf and the directory contents in /etc/ntp.

'timezone'

set to one of the time zone strings for the local time zone

The time zone string can be determined from the directories located in /usr/share/zoneinfo and combining the directory names and filenames.

Examples:

The sub-directory Canada contains a file Mountain, so the time zone string would be 'Canada/Mountain'.



The file /etc/sysconfig/clock is updated with information from this option.

Related Option Entries:

none.






PrevHome Next
superuser   users