#!/bin/sh
#
# timeconfig         Slackware Linux timezone configuration utility.
#
# Author:            Patrick Volkerding <volkerdi@slackware.com>
# Last Modified by:  David Cantrell <david@slackware.com>, 06-Oct-2000
# ...then modified again by volkerdi@slackware.com, 19-Feb-2001, to
# allow all valid timezones in glibc-2.2.2.
#
# ChangeLog:
# 19-Feb-2001   Add new timezones from glibc-2.2.2.
# 06-Oct-2000   Fixed a problem with selecting UTC time.  It was writing
#               the hardwareclock file to the root disk and not your dest
#               partition.  Changed the HWCLOCK_CONF variable to be
#               $T_PX/etc/hardwareclock to fix this.  Thanks to David L.
#               Dickman <softbear@optonline.net> for finding this and
#               submitting a patch.
#
# 15-Mar-2000   Added the writeconf function to write out the
#               /etc/hardwareclock file which tells what the hardware clock
#               is set to (UTC or localtime).
#
# 03-Mar-2000   Reorganized script.  Made one timezone set block, added
#               stage that asks the user if the hardware clock is set to
#               UTC.
#

# setup our temp locations and variables
TMP=/var/log/setup/tmp
if [ -r $TMP/SeTT_PX ]; then
   T_PX="`cat $TMP/SeTT_PX`"
elif [ ! "$!" = "" ]; then
   T_PX=$1
else
   T_PX=/
fi

# the hardware clock configuration file
HWCLOCK_CONF=$T_PX/etc/hardwareclock

#
# setzone( $TIMEZONE )
#
# This function accepts a time zone as the only parameter and sets it as
# the default system time zone.
#
setzone()
{
   TZ=$1

   cd $T_PX/etc
   if [ -r $T_PX/usr/share/zoneinfo/$TZ -o \
        -r /var/log/mount/usr/share/zoneinfo/$TZ -o \
        -L $T_PX/usr/share/zoneinfo/$TZ -o \
        -L /var/log/mount/usr/share/zoneinfo/$TZ ]; then
      ln -sf /usr/share/zoneinfo/$TZ localtime
   fi
}

#
# writeconf( $CLOCK_SET_TO )
#
# Writes out $HWCLOCK_CONF that tells rc.S how the hardware clock
# value is stored.
#
writeconf()
{
   echo "# /etc/hardwareclock" > $HWCLOCK_CONF
   echo "#" >> $HWCLOCK_CONF
   echo "# Tells how the hardware clock time is stored." >> $HWCLOCK_CONF
   echo "# You should run timeconfig to edit this file." >> $HWCLOCK_CONF
   echo >> $HWCLOCK_CONF
   echo $1 >> $HWCLOCK_CONF
}

# ask the user if the hardware clock is set for UTC/GMT
if [ "$COLOR" = "on" -o -r $TMP/SeTcolor -o "$T_PX" = "/" ]; then
   ###
   ### use color menus here
   ###
   dialog --title "HARDWARE CLOCK SET TO UTC?" --menu "Is the hardware clock set \
to Coordinated Universal Time (UTC/GMT)?  If it is, select YES here.  If the \
hardware clock is set to the current local time (this is how most PCs are set \
up), then say NO here.  If you are not sure what this is, you should answer NO \
here." 13 60 2 \
   "NO" "Hardware clock is set to local time" \
   "YES" "Hardware clock is set to UTC" \
   2> $TMP/utc
   if [ $? = 1 -o $? = 255 ]; then
     rm -f $TMP/utc
     exit
   fi
   if [ "`cat $TMP/utc`" = "YES" ]; then
     # yes, the hardware clock is UTC
     writeconf "UTC"
   else # must be NO
     writeconf "localtime"
   fi
   rm -f $TMP/utc
else
   ###
   ### use text prompts
   ###
   echo "Is the hardware clock set to Coordinated Universal Time (UTC/GMT)?"
   echo "If it is, select 'y' here.  If the hardware clock is set to the"
   echo "current local time (this is how most PCs are set up), then say 'n'"
   echo "here.  If you are not sure what this is, you should answer 'n' here."
   echo
   echo -n "Is your hardware clock set to UTC ([y]es, [n]o)? "
   read HEJAZ

   if [ "$HEJAZ" = "y" -o "$HEJAZ" = "Y" -o "$HEJAZ" = "YES" -o "$HEJAZ" = "yes" ]; then
      # yes, the hardware clock is UTC
      writeconf "UTC"
   else
      # default to localtime
      writeconf "localtime"
   fi
fi

# Now set the correct timezone link:
if [ "$COLOR" = "on" -o -r $TMP/SeTcolor -o "$T_PX" = "/" ]; then
   ###
   ### use color menus here
   ###
   dialog --title "TIMEZONE CONFIGURATION" --menu "Please select one of the following timezones for your machine:" 21 50 13 \
"US/Alaska" " " \
"US/Aleutian" " " \
"US/Arizona" " " \
"US/Central" " " \
"US/East-Indiana" " " \
"US/Eastern" " " \
"US/Hawaii" " " \
"US/Indiana-Starke" " " \
"US/Michigan" " " \
"US/Mountain" " " \
"US/Pacific" " " \
"US/Samoa" " " \
"Africa/Abidjan" " " \
"Africa/Accra" " " \
"Africa/Addis_Ababa" " " \
"Africa/Algiers" " " \
"Africa/Asmera" " " \
"Africa/Bamako" " " \
"Africa/Bangui" " " \
"Africa/Banjul" " " \
"Africa/Bissau" " " \
"Africa/Blantyre" " " \
"Africa/Brazzaville" " " \
"Africa/Bujumbura" " " \
"Africa/Cairo" " " \
"Africa/Casablanca" " " \
"Africa/Ceuta" " " \
"Africa/Conakry" " " \
"Africa/Dakar" " " \
"Africa/Dar_es_Salaam" " " \
"Africa/Djibouti" " " \
"Africa/Douala" " " \
"Africa/El_Aaiun" " " \
"Africa/Freetown" " " \
"Africa/Gaborone" " " \
"Africa/Harare" " " \
"Africa/Johannesburg" " " \
"Africa/Kampala" " " \
"Africa/Khartoum" " " \
"Africa/Kigali" " " \
"Africa/Kinshasa" " " \
"Africa/Lagos" " " \
"Africa/Libreville" " " \
"Africa/Lome" " " \
"Africa/Luanda" " " \
"Africa/Lubumbashi" " " \
"Africa/Lusaka" " " \
"Africa/Malabo" " " \
"Africa/Maputo" " " \
"Africa/Maseru" " " \
"Africa/Mbabane" " " \
"Africa/Mogadishu" " " \
"Africa/Monrovia" " " \
"Africa/Nairobi" " " \
"Africa/Ndjamena" " " \
"Africa/Niamey" " " \
"Africa/Nouakchott" " " \
"Africa/Ouagadougou" " " \
"Africa/Porto-Novo" " " \
"Africa/Sao_Tome" " " \
"Africa/Timbuktu" " " \
"Africa/Tripoli" " " \
"Africa/Tunis" " " \
"Africa/Windhoek" " " \
"America/Adak" " " \
"America/Anchorage" " " \
"America/Anguilla" " " \
"America/Antigua" " " \
"America/Araguaina" " " \
"America/Aruba" " " \
"America/Asuncion" " " \
"America/Atka" " " \
"America/Barbados" " " \
"America/Belem" " " \
"America/Belize" " " \
"America/Boa_Vista" " " \
"America/Bogota" " " \
"America/Boise" " " \
"America/Buenos_Aires" " " \
"America/Cambridge_Bay" " " \
"America/Cancun" " " \
"America/Caracas" " " \
"America/Catamarca" " " \
"America/Cayenne" " " \
"America/Cayman" " " \
"America/Chicago" " " \
"America/Chihuahua" " " \
"America/Cordoba" " " \
"America/Costa_Rica" " " \
"America/Cuiaba" " " \
"America/Curacao" " " \
"America/Dawson" " " \
"America/Dawson_Creek" " " \
"America/Denver" " " \
"America/Detroit" " " \
"America/Dominica" " " \
"America/Edmonton" " " \
"America/Eirunepe" " " \
"America/El_Salvador" " " \
"America/Ensenada" " " \
"America/Fort_Wayne" " " \
"America/Fortaleza" " " \
"America/Glace_Bay" " " \
"America/Godthab" " " \
"America/Goose_Bay" " " \
"America/Grand_Turk" " " \
"America/Grenada" " " \
"America/Guadeloupe" " " \
"America/Guatemala" " " \
"America/Guayaquil" " " \
"America/Guyana" " " \
"America/Halifax" " " \
"America/Havana" " " \
"America/Hermosillo" " " \
"America/Indiana/Indianapolis" " " \
"America/Indiana/Knox" " " \
"America/Indiana/Marengo" " " \
"America/Indiana/Vevay" " " \
"America/Indianapolis" " " \
"America/Inuvik" " " \
"America/Iqaluit" " " \
"America/Jamaica" " " \
"America/Jujuy" " " \
"America/Juneau" " " \
"America/Kentucky/Louisville" " " \
"America/Kentucky/Monticello" " " \
"America/Knox_IN" " " \
"America/La_Paz" " " \
"America/Lima" " " \
"America/Los_Angeles" " " \
"America/Louisville" " " \
"America/Maceio" " " \
"America/Managua" " " \
"America/Manaus" " " \
"America/Martinique" " " \
"America/Mazatlan" " " \
"America/Mendoza" " " \
"America/Menominee" " " \
"America/Merida" " " \
"America/Mexico_City" " " \
"America/Miquelon" " " \
"America/Monterrey" " " \
"America/Montevideo" " " \
"America/Montreal" " " \
"America/Montserrat" " " \
"America/Nassau" " " \
"America/New_York" " " \
"America/Nipigon" " " \
"America/Nome" " " \
"America/Noronha" " " \
"America/Panama" " " \
"America/Pangnirtung" " " \
"America/Paramaribo" " " \
"America/Phoenix" " " \
"America/Port-au-Prince" " " \
"America/Port_of_Spain" " " \
"America/Porto_Acre" " " \
"America/Porto_Velho" " " \
"America/Puerto_Rico" " " \
"America/Rainy_River" " " \
"America/Rankin_Inlet" " " \
"America/Recife" " " \
"America/Regina" " " \
"America/Rosario" " " \
"America/Santiago" " " \
"America/Santo_Domingo" " " \
"America/Sao_Paulo" " " \
"America/Scoresbysund" " " \
"America/Shiprock" " " \
"America/St_Johns" " " \
"America/St_Kitts" " " \
"America/St_Lucia" " " \
"America/St_Thomas" " " \
"America/St_Vincent" " " \
"America/Swift_Current" " " \
"America/Tegucigalpa" " " \
"America/Thule" " " \
"America/Thunder_Bay" " " \
"America/Tijuana" " " \
"America/Tortola" " " \
"America/Vancouver" " " \
"America/Virgin" " " \
"America/Whitehorse" " " \
"America/Winnipeg" " " \
"America/Yakutat" " " \
"America/Yellowknife" " " \
"Antarctica/Casey" " " \
"Antarctica/Davis" " " \
"Antarctica/DumontDUrville" " " \
"Antarctica/Mawson" " " \
"Antarctica/McMurdo" " " \
"Antarctica/Palmer" " " \
"Antarctica/South_Pole" " " \
"Antarctica/Syowa" " " \
"Arctic/Longyearbyen" " " \
"Asia/Aden" " " \
"Asia/Almaty" " " \
"Asia/Amman" " " \
"Asia/Anadyr" " " \
"Asia/Aqtau" " " \
"Asia/Aqtobe" " " \
"Asia/Ashgabat" " " \
"Asia/Ashkhabad" " " \
"Asia/Baghdad" " " \
"Asia/Bahrain" " " \
"Asia/Baku" " " \
"Asia/Bangkok" " " \
"Asia/Beirut" " " \
"Asia/Bishkek" " " \
"Asia/Brunei" " " \
"Asia/Calcutta" " " \
"Asia/Chungking" " " \
"Asia/Colombo" " " \
"Asia/Dacca" " " \
"Asia/Damascus" " " \
"Asia/Dhaka" " " \
"Asia/Dili" " " \
"Asia/Dubai" " " \
"Asia/Dushanbe" " " \
"Asia/Gaza" " " \
"Asia/Harbin" " " \
"Asia/Hong_Kong" " " \
"Asia/Hovd" " " \
"Asia/Irkutsk" " " \
"Asia/Istanbul" " " \
"Asia/Jakarta" " " \
"Asia/Jayapura" " " \
"Asia/Jerusalem" " " \
"Asia/Kabul" " " \
"Asia/Kamchatka" " " \
"Asia/Karachi" " " \
"Asia/Kashgar" " " \
"Asia/Katmandu" " " \
"Asia/Krasnoyarsk" " " \
"Asia/Kuala_Lumpur" " " \
"Asia/Kuching" " " \
"Asia/Kuwait" " " \
"Asia/Macao" " " \
"Asia/Magadan" " " \
"Asia/Manila" " " \
"Asia/Muscat" " " \
"Asia/Nicosia" " " \
"Asia/Novosibirsk" " " \
"Asia/Omsk" " " \
"Asia/Phnom_Penh" " " \
"Asia/Pyongyang" " " \
"Asia/Qatar" " " \
"Asia/Rangoon" " " \
"Asia/Riyadh" " " \
"Asia/Riyadh87" " " \
"Asia/Riyadh88" " " \
"Asia/Riyadh89" " " \
"Asia/Saigon" " " \
"Asia/Samarkand" " " \
"Asia/Seoul" " " \
"Asia/Shanghai" " " \
"Asia/Singapore" " " \
"Asia/Taipei" " " \
"Asia/Tashkent" " " \
"Asia/Tbilisi" " " \
"Asia/Tehran" " " \
"Asia/Tel_Aviv" " " \
"Asia/Thimbu" " " \
"Asia/Thimphu" " " \
"Asia/Tokyo" " " \
"Asia/Ujung_Pandang" " " \
"Asia/Ulaanbaatar" " " \
"Asia/Ulan_Bator" " " \
"Asia/Urumqi" " " \
"Asia/Vientiane" " " \
"Asia/Vladivostok" " " \
"Asia/Yakutsk" " " \
"Asia/Yekaterinburg" " " \
"Asia/Yerevan" " " \
"Atlantic/Azores" " " \
"Atlantic/Bermuda" " " \
"Atlantic/Canary" " " \
"Atlantic/Cape_Verde" " " \
"Atlantic/Faeroe" " " \
"Atlantic/Jan_Mayen" " " \
"Atlantic/Madeira" " " \
"Atlantic/Reykjavik" " " \
"Atlantic/South_Georgia" " " \
"Atlantic/St_Helena" " " \
"Atlantic/Stanley" " " \
"Australia/ACT" " " \
"Australia/Adelaide" " " \
"Australia/Brisbane" " " \
"Australia/Broken_Hill" " " \
"Australia/Canberra" " " \
"Australia/Darwin" " " \
"Australia/Hobart" " " \
"Australia/LHI" " " \
"Australia/Lindeman" " " \
"Australia/Lord_Howe" " " \
"Australia/Melbourne" " " \
"Australia/NSW" " " \
"Australia/North" " " \
"Australia/Perth" " " \
"Australia/Queensland" " " \
"Australia/South" " " \
"Australia/Sydney" " " \
"Australia/Tasmania" " " \
"Australia/Victoria" " " \
"Australia/West" " " \
"Australia/Yancowinna" " " \
"Brazil/Acre" " " \
"Brazil/DeNoronha" " " \
"Brazil/East" " " \
"Brazil/West" " " \
"CET" " " \
"CST6CDT" " " \
"Canada/Atlantic" " " \
"Canada/Central" " " \
"Canada/East-Saskatchewan" " " \
"Canada/Eastern" " " \
"Canada/Mountain" " " \
"Canada/Newfoundland" " " \
"Canada/Pacific" " " \
"Canada/Saskatchewan" " " \
"Canada/Yukon" " " \
"Chile/Continental" " " \
"Chile/EasterIsland" " " \
"Cuba" " " \
"EET" " " \
"EST" " " \
"EST5EDT" " " \
"Egypt" " " \
"Eire" " " \
"Etc/GMT" " " \
"Etc/GMT+0" " " \
"Etc/GMT+1" " " \
"Etc/GMT+10" " " \
"Etc/GMT+11" " " \
"Etc/GMT+12" " " \
"Etc/GMT+2" " " \
"Etc/GMT+3" " " \
"Etc/GMT+4" " " \
"Etc/GMT+5" " " \
"Etc/GMT+6" " " \
"Etc/GMT+7" " " \
"Etc/GMT+8" " " \
"Etc/GMT+9" " " \
"Etc/GMT-0" " " \
"Etc/GMT-1" " " \
"Etc/GMT-10" " " \
"Etc/GMT-11" " " \
"Etc/GMT-12" " " \
"Etc/GMT-13" " " \
"Etc/GMT-14" " " \
"Etc/GMT-2" " " \
"Etc/GMT-3" " " \
"Etc/GMT-4" " " \
"Etc/GMT-5" " " \
"Etc/GMT-6" " " \
"Etc/GMT-7" " " \
"Etc/GMT-8" " " \
"Etc/GMT-9" " " \
"Etc/GMT0" " " \
"Etc/Greenwich" " " \
"Etc/UCT" " " \
"Etc/UTC" " " \
"Etc/Universal" " " \
"Etc/Zulu" " " \
"Europe/Amsterdam" " " \
"Europe/Andorra" " " \
"Europe/Athens" " " \
"Europe/Belfast" " " \
"Europe/Belgrade" " " \
"Europe/Berlin" " " \
"Europe/Bratislava" " " \
"Europe/Brussels" " " \
"Europe/Bucharest" " " \
"Europe/Budapest" " " \
"Europe/Chisinau" " " \
"Europe/Copenhagen" " " \
"Europe/Dublin" " " \
"Europe/Gibraltar" " " \
"Europe/Helsinki" " " \
"Europe/Istanbul" " " \
"Europe/Kaliningrad" " " \
"Europe/Kiev" " " \
"Europe/Lisbon" " " \
"Europe/Ljubljana" " " \
"Europe/London" " " \
"Europe/Luxembourg" " " \
"Europe/Madrid" " " \
"Europe/Malta" " " \
"Europe/Minsk" " " \
"Europe/Monaco" " " \
"Europe/Moscow" " " \
"Europe/Nicosia" " " \
"Europe/Oslo" " " \
"Europe/Paris" " " \
"Europe/Prague" " " \
"Europe/Riga" " " \
"Europe/Rome" " " \
"Europe/Samara" " " \
"Europe/San_Marino" " " \
"Europe/Sarajevo" " " \
"Europe/Simferopol" " " \
"Europe/Skopje" " " \
"Europe/Sofia" " " \
"Europe/Stockholm" " " \
"Europe/Tallinn" " " \
"Europe/Tirane" " " \
"Europe/Tiraspol" " " \
"Europe/Uzhgorod" " " \
"Europe/Vaduz" " " \
"Europe/Vatican" " " \
"Europe/Vienna" " " \
"Europe/Vilnius" " " \
"Europe/Warsaw" " " \
"Europe/Zagreb" " " \
"Europe/Zaporozhye" " " \
"Europe/Zurich" " " \
"Factory" " " \
"GB" " " \
"GB-Eire" " " \
"GMT" " " \
"GMT+0" " " \
"GMT-0" " " \
"GMT0" " " \
"Greenwich" " " \
"HST" " " \
"Hongkong" " " \
"Iceland" " " \
"Indian/Antananarivo" " " \
"Indian/Chagos" " " \
"Indian/Christmas" " " \
"Indian/Cocos" " " \
"Indian/Comoro" " " \
"Indian/Kerguelen" " " \
"Indian/Mahe" " " \
"Indian/Maldives" " " \
"Indian/Mauritius" " " \
"Indian/Mayotte" " " \
"Indian/Reunion" " " \
"Iran" " " \
"Israel" " " \
"Jamaica" " " \
"Japan" " " \
"Kwajalein" " " \
"Libya" " " \
"MET" " " \
"MST" " " \
"MST7MDT" " " \
"Mexico/BajaNorte" " " \
"Mexico/BajaSur" " " \
"Mexico/General" " " \
"Mideast/Riyadh87" " " \
"Mideast/Riyadh88" " " \
"Mideast/Riyadh89" " " \
"NZ" " " \
"NZ-CHAT" " " \
"Navajo" " " \
"PRC" " " \
"PST8PDT" " " \
"Pacific/Apia" " " \
"Pacific/Auckland" " " \
"Pacific/Chatham" " " \
"Pacific/Easter" " " \
"Pacific/Efate" " " \
"Pacific/Enderbury" " " \
"Pacific/Fakaofo" " " \
"Pacific/Fiji" " " \
"Pacific/Funafuti" " " \
"Pacific/Galapagos" " " \
"Pacific/Gambier" " " \
"Pacific/Guadalcanal" " " \
"Pacific/Guam" " " \
"Pacific/Honolulu" " " \
"Pacific/Johnston" " " \
"Pacific/Kiritimati" " " \
"Pacific/Kosrae" " " \
"Pacific/Kwajalein" " " \
"Pacific/Majuro" " " \
"Pacific/Marquesas" " " \
"Pacific/Midway" " " \
"Pacific/Nauru" " " \
"Pacific/Niue" " " \
"Pacific/Norfolk" " " \
"Pacific/Noumea" " " \
"Pacific/Pago_Pago" " " \
"Pacific/Palau" " " \
"Pacific/Pitcairn" " " \
"Pacific/Ponape" " " \
"Pacific/Port_Moresby" " " \
"Pacific/Rarotonga" " " \
"Pacific/Saipan" " " \
"Pacific/Samoa" " " \
"Pacific/Tahiti" " " \
"Pacific/Tarawa" " " \
"Pacific/Tongatapu" " " \
"Pacific/Truk" " " \
"Pacific/Wake" " " \
"Pacific/Wallis" " " \
"Pacific/Yap" " " \
"Poland" " " \
"Portugal" " " \
"ROC" " " \
"ROK" " " \
"Singapore" " " \
"SystemV/AST4" " " \
"SystemV/AST4ADT" " " \
"SystemV/CST6" " " \
"SystemV/CST6CDT" " " \
"SystemV/EST5" " " \
"SystemV/EST5EDT" " " \
"SystemV/HST10" " " \
"SystemV/MST7" " " \
"SystemV/MST7MDT" " " \
"SystemV/PST8" " " \
"SystemV/PST8PDT" " " \
"SystemV/YST9" " " \
"SystemV/YST9YDT" " " \
"Turkey" " " \
"UCT" " " \
"UTC" " " \
"Universal" " " \
"W-SU" " " \
"WET" " " \
"Zulu" " " \
"posix/Africa/Abidjan" " " \
"posix/Africa/Accra" " " \
"posix/Africa/Addis_Ababa" " " \
"posix/Africa/Algiers" " " \
"posix/Africa/Asmera" " " \
"posix/Africa/Bamako" " " \
"posix/Africa/Bangui" " " \
"posix/Africa/Banjul" " " \
"posix/Africa/Bissau" " " \
"posix/Africa/Blantyre" " " \
"posix/Africa/Brazzaville" " " \
"posix/Africa/Bujumbura" " " \
"posix/Africa/Cairo" " " \
"posix/Africa/Casablanca" " " \
"posix/Africa/Ceuta" " " \
"posix/Africa/Conakry" " " \
"posix/Africa/Dakar" " " \
"posix/Africa/Dar_es_Salaam" " " \
"posix/Africa/Djibouti" " " \
"posix/Africa/Douala" " " \
"posix/Africa/El_Aaiun" " " \
"posix/Africa/Freetown" " " \
"posix/Africa/Gaborone" " " \
"posix/Africa/Harare" " " \
"posix/Africa/Johannesburg" " " \
"posix/Africa/Kampala" " " \
"posix/Africa/Khartoum" " " \
"posix/Africa/Kigali" " " \
"posix/Africa/Kinshasa" " " \
"posix/Africa/Lagos" " " \
"posix/Africa/Libreville" " " \
"posix/Africa/Lome" " " \
"posix/Africa/Luanda" " " \
"posix/Africa/Lubumbashi" " " \
"posix/Africa/Lusaka" " " \
"posix/Africa/Malabo" " " \
"posix/Africa/Maputo" " " \
"posix/Africa/Maseru" " " \
"posix/Africa/Mbabane" " " \
"posix/Africa/Mogadishu" " " \
"posix/Africa/Monrovia" " " \
"posix/Africa/Nairobi" " " \
"posix/Africa/Ndjamena" " " \
"posix/Africa/Niamey" " " \
"posix/Africa/Nouakchott" " " \
"posix/Africa/Ouagadougou" " " \
"posix/Africa/Porto-Novo" " " \
"posix/Africa/Sao_Tome" " " \
"posix/Africa/Timbuktu" " " \
"posix/Africa/Tripoli" " " \
"posix/Africa/Tunis" " " \
"posix/Africa/Windhoek" " " \
"posix/America/Adak" " " \
"posix/America/Anchorage" " " \
"posix/America/Anguilla" " " \
"posix/America/Antigua" " " \
"posix/America/Araguaina" " " \
"posix/America/Aruba" " " \
"posix/America/Asuncion" " " \
"posix/America/Atka" " " \
"posix/America/Barbados" " " \
"posix/America/Belem" " " \
"posix/America/Belize" " " \
"posix/America/Boa_Vista" " " \
"posix/America/Bogota" " " \
"posix/America/Boise" " " \
"posix/America/Buenos_Aires" " " \
"posix/America/Cambridge_Bay" " " \
"posix/America/Cancun" " " \
"posix/America/Caracas" " " \
"posix/America/Catamarca" " " \
"posix/America/Cayenne" " " \
"posix/America/Cayman" " " \
"posix/America/Chicago" " " \
"posix/America/Chihuahua" " " \
"posix/America/Cordoba" " " \
"posix/America/Costa_Rica" " " \
"posix/America/Cuiaba" " " \
"posix/America/Curacao" " " \
"posix/America/Dawson" " " \
"posix/America/Dawson_Creek" " " \
"posix/America/Denver" " " \
"posix/America/Detroit" " " \
"posix/America/Dominica" " " \
"posix/America/Edmonton" " " \
"posix/America/Eirunepe" " " \
"posix/America/El_Salvador" " " \
"posix/America/Ensenada" " " \
"posix/America/Fort_Wayne" " " \
"posix/America/Fortaleza" " " \
"posix/America/Glace_Bay" " " \
"posix/America/Godthab" " " \
"posix/America/Goose_Bay" " " \
"posix/America/Grand_Turk" " " \
"posix/America/Grenada" " " \
"posix/America/Guadeloupe" " " \
"posix/America/Guatemala" " " \
"posix/America/Guayaquil" " " \
"posix/America/Guyana" " " \
"posix/America/Halifax" " " \
"posix/America/Havana" " " \
"posix/America/Hermosillo" " " \
"posix/America/Indiana/Indianapolis" " " \
"posix/America/Indiana/Knox" " " \
"posix/America/Indiana/Marengo" " " \
"posix/America/Indiana/Vevay" " " \
"posix/America/Indianapolis" " " \
"posix/America/Inuvik" " " \
"posix/America/Iqaluit" " " \
"posix/America/Jamaica" " " \
"posix/America/Jujuy" " " \
"posix/America/Juneau" " " \
"posix/America/Kentucky/Louisville" " " \
"posix/America/Kentucky/Monticello" " " \
"posix/America/Knox_IN" " " \
"posix/America/La_Paz" " " \
"posix/America/Lima" " " \
"posix/America/Los_Angeles" " " \
"posix/America/Louisville" " " \
"posix/America/Maceio" " " \
"posix/America/Managua" " " \
"posix/America/Manaus" " " \
"posix/America/Martinique" " " \
"posix/America/Mazatlan" " " \
"posix/America/Mendoza" " " \
"posix/America/Menominee" " " \
"posix/America/Merida" " " \
"posix/America/Mexico_City" " " \
"posix/America/Miquelon" " " \
"posix/America/Monterrey" " " \
"posix/America/Montevideo" " " \
"posix/America/Montreal" " " \
"posix/America/Montserrat" " " \
"posix/America/Nassau" " " \
"posix/America/New_York" " " \
"posix/America/Nipigon" " " \
"posix/America/Nome" " " \
"posix/America/Noronha" " " \
"posix/America/Panama" " " \
"posix/America/Pangnirtung" " " \
"posix/America/Paramaribo" " " \
"posix/America/Phoenix" " " \
"posix/America/Port-au-Prince" " " \
"posix/America/Port_of_Spain" " " \
"posix/America/Porto_Acre" " " \
"posix/America/Porto_Velho" " " \
"posix/America/Puerto_Rico" " " \
"posix/America/Rainy_River" " " \
"posix/America/Rankin_Inlet" " " \
"posix/America/Recife" " " \
"posix/America/Regina" " " \
"posix/America/Rosario" " " \
"posix/America/Santiago" " " \
"posix/America/Santo_Domingo" " " \
"posix/America/Sao_Paulo" " " \
"posix/America/Scoresbysund" " " \
"posix/America/Shiprock" " " \
"posix/America/St_Johns" " " \
"posix/America/St_Kitts" " " \
"posix/America/St_Lucia" " " \
"posix/America/St_Thomas" " " \
"posix/America/St_Vincent" " " \
"posix/America/Swift_Current" " " \
"posix/America/Tegucigalpa" " " \
"posix/America/Thule" " " \
"posix/America/Thunder_Bay" " " \
"posix/America/Tijuana" " " \
"posix/America/Tortola" " " \
"posix/America/Vancouver" " " \
"posix/America/Virgin" " " \
"posix/America/Whitehorse" " " \
"posix/America/Winnipeg" " " \
"posix/America/Yakutat" " " \
"posix/America/Yellowknife" " " \
"posix/Antarctica/Casey" " " \
"posix/Antarctica/Davis" " " \
"posix/Antarctica/DumontDUrville" " " \
"posix/Antarctica/Mawson" " " \
"posix/Antarctica/McMurdo" " " \
"posix/Antarctica/Palmer" " " \
"posix/Antarctica/South_Pole" " " \
"posix/Antarctica/Syowa" " " \
"posix/Arctic/Longyearbyen" " " \
"posix/Asia/Aden" " " \
"posix/Asia/Almaty" " " \
"posix/Asia/Amman" " " \
"posix/Asia/Anadyr" " " \
"posix/Asia/Aqtau" " " \
"posix/Asia/Aqtobe" " " \
"posix/Asia/Ashgabat" " " \
"posix/Asia/Ashkhabad" " " \
"posix/Asia/Baghdad" " " \
"posix/Asia/Bahrain" " " \
"posix/Asia/Baku" " " \
"posix/Asia/Bangkok" " " \
"posix/Asia/Beirut" " " \
"posix/Asia/Bishkek" " " \
"posix/Asia/Brunei" " " \
"posix/Asia/Calcutta" " " \
"posix/Asia/Chungking" " " \
"posix/Asia/Colombo" " " \
"posix/Asia/Dacca" " " \
"posix/Asia/Damascus" " " \
"posix/Asia/Dhaka" " " \
"posix/Asia/Dili" " " \
"posix/Asia/Dubai" " " \
"posix/Asia/Dushanbe" " " \
"posix/Asia/Gaza" " " \
"posix/Asia/Harbin" " " \
"posix/Asia/Hong_Kong" " " \
"posix/Asia/Hovd" " " \
"posix/Asia/Irkutsk" " " \
"posix/Asia/Istanbul" " " \
"posix/Asia/Jakarta" " " \
"posix/Asia/Jayapura" " " \
"posix/Asia/Jerusalem" " " \
"posix/Asia/Kabul" " " \
"posix/Asia/Kamchatka" " " \
"posix/Asia/Karachi" " " \
"posix/Asia/Kashgar" " " \
"posix/Asia/Katmandu" " " \
"posix/Asia/Krasnoyarsk" " " \
"posix/Asia/Kuala_Lumpur" " " \
"posix/Asia/Kuching" " " \
"posix/Asia/Kuwait" " " \
"posix/Asia/Macao" " " \
"posix/Asia/Magadan" " " \
"posix/Asia/Manila" " " \
"posix/Asia/Muscat" " " \
"posix/Asia/Nicosia" " " \
"posix/Asia/Novosibirsk" " " \
"posix/Asia/Omsk" " " \
"posix/Asia/Phnom_Penh" " " \
"posix/Asia/Pyongyang" " " \
"posix/Asia/Qatar" " " \
"posix/Asia/Rangoon" " " \
"posix/Asia/Riyadh" " " \
"posix/Asia/Riyadh87" " " \
"posix/Asia/Riyadh88" " " \
"posix/Asia/Riyadh89" " " \
"posix/Asia/Saigon" " " \
"posix/Asia/Samarkand" " " \
"posix/Asia/Seoul" " " \
"posix/Asia/Shanghai" " " \
"posix/Asia/Singapore" " " \
"posix/Asia/Taipei" " " \
"posix/Asia/Tashkent" " " \
"posix/Asia/Tbilisi" " " \
"posix/Asia/Tehran" " " \
"posix/Asia/Tel_Aviv" " " \
"posix/Asia/Thimbu" " " \
"posix/Asia/Thimphu" " " \
"posix/Asia/Tokyo" " " \
"posix/Asia/Ujung_Pandang" " " \
"posix/Asia/Ulaanbaatar" " " \
"posix/Asia/Ulan_Bator" " " \
"posix/Asia/Urumqi" " " \
"posix/Asia/Vientiane" " " \
"posix/Asia/Vladivostok" " " \
"posix/Asia/Yakutsk" " " \
"posix/Asia/Yekaterinburg" " " \
"posix/Asia/Yerevan" " " \
"posix/Atlantic/Azores" " " \
"posix/Atlantic/Bermuda" " " \
"posix/Atlantic/Canary" " " \
"posix/Atlantic/Cape_Verde" " " \
"posix/Atlantic/Faeroe" " " \
"posix/Atlantic/Jan_Mayen" " " \
"posix/Atlantic/Madeira" " " \
"posix/Atlantic/Reykjavik" " " \
"posix/Atlantic/South_Georgia" " " \
"posix/Atlantic/St_Helena" " " \
"posix/Atlantic/Stanley" " " \
"posix/Australia/ACT" " " \
"posix/Australia/Adelaide" " " \
"posix/Australia/Brisbane" " " \
"posix/Australia/Broken_Hill" " " \
"posix/Australia/Canberra" " " \
"posix/Australia/Darwin" " " \
"posix/Australia/Hobart" " " \
"posix/Australia/LHI" " " \
"posix/Australia/Lindeman" " " \
"posix/Australia/Lord_Howe" " " \
"posix/Australia/Melbourne" " " \
"posix/Australia/NSW" " " \
"posix/Australia/North" " " \
"posix/Australia/Perth" " " \
"posix/Australia/Queensland" " " \
"posix/Australia/South" " " \
"posix/Australia/Sydney" " " \
"posix/Australia/Tasmania" " " \
"posix/Australia/Victoria" " " \
"posix/Australia/West" " " \
"posix/Australia/Yancowinna" " " \
"posix/Brazil/Acre" " " \
"posix/Brazil/DeNoronha" " " \
"posix/Brazil/East" " " \
"posix/Brazil/West" " " \
"posix/CET" " " \
"posix/CST6CDT" " " \
"posix/Canada/Atlantic" " " \
"posix/Canada/Central" " " \
"posix/Canada/East-Saskatchewan" " " \
"posix/Canada/Eastern" " " \
"posix/Canada/Mountain" " " \
"posix/Canada/Newfoundland" " " \
"posix/Canada/Pacific" " " \
"posix/Canada/Saskatchewan" " " \
"posix/Canada/Yukon" " " \
"posix/Chile/Continental" " " \
"posix/Chile/EasterIsland" " " \
"posix/Cuba" " " \
"posix/EET" " " \
"posix/EST" " " \
"posix/EST5EDT" " " \
"posix/Egypt" " " \
"posix/Eire" " " \
"posix/Etc/GMT" " " \
"posix/Etc/GMT+0" " " \
"posix/Etc/GMT+1" " " \
"posix/Etc/GMT+10" " " \
"posix/Etc/GMT+11" " " \
"posix/Etc/GMT+12" " " \
"posix/Etc/GMT+2" " " \
"posix/Etc/GMT+3" " " \
"posix/Etc/GMT+4" " " \
"posix/Etc/GMT+5" " " \
"posix/Etc/GMT+6" " " \
"posix/Etc/GMT+7" " " \
"posix/Etc/GMT+8" " " \
"posix/Etc/GMT+9" " " \
"posix/Etc/GMT-0" " " \
"posix/Etc/GMT-1" " " \
"posix/Etc/GMT-10" " " \
"posix/Etc/GMT-11" " " \
"posix/Etc/GMT-12" " " \
"posix/Etc/GMT-13" " " \
"posix/Etc/GMT-14" " " \
"posix/Etc/GMT-2" " " \
"posix/Etc/GMT-3" " " \
"posix/Etc/GMT-4" " " \
"posix/Etc/GMT-5" " " \
"posix/Etc/GMT-6" " " \
"posix/Etc/GMT-7" " " \
"posix/Etc/GMT-8" " " \
"posix/Etc/GMT-9" " " \
"posix/Etc/GMT0" " " \
"posix/Etc/Greenwich" " " \
"posix/Etc/UCT" " " \
"posix/Etc/UTC" " " \
"posix/Etc/Universal" " " \
"posix/Etc/Zulu" " " \
"posix/Europe/Amsterdam" " " \
"posix/Europe/Andorra" " " \
"posix/Europe/Athens" " " \
"posix/Europe/Belfast" " " \
"posix/Europe/Belgrade" " " \
"posix/Europe/Berlin" " " \
"posix/Europe/Bratislava" " " \
"posix/Europe/Brussels" " " \
"posix/Europe/Bucharest" " " \
"posix/Europe/Budapest" " " \
"posix/Europe/Chisinau" " " \
"posix/Europe/Copenhagen" " " \
"posix/Europe/Dublin" " " \
"posix/Europe/Gibraltar" " " \
"posix/Europe/Helsinki" " " \
"posix/Europe/Istanbul" " " \
"posix/Europe/Kaliningrad" " " \
"posix/Europe/Kiev" " " \
"posix/Europe/Lisbon" " " \
"posix/Europe/Ljubljana" " " \
"posix/Europe/London" " " \
"posix/Europe/Luxembourg" " " \
"posix/Europe/Madrid" " " \
"posix/Europe/Malta" " " \
"posix/Europe/Minsk" " " \
"posix/Europe/Monaco" " " \
"posix/Europe/Moscow" " " \
"posix/Europe/Nicosia" " " \
"posix/Europe/Oslo" " " \
"posix/Europe/Paris" " " \
"posix/Europe/Prague" " " \
"posix/Europe/Riga" " " \
"posix/Europe/Rome" " " \
"posix/Europe/Samara" " " \
"posix/Europe/San_Marino" " " \
"posix/Europe/Sarajevo" " " \
"posix/Europe/Simferopol" " " \
"posix/Europe/Skopje" " " \
"posix/Europe/Sofia" " " \
"posix/Europe/Stockholm" " " \
"posix/Europe/Tallinn" " " \
"posix/Europe/Tirane" " " \
"posix/Europe/Tiraspol" " " \
"posix/Europe/Uzhgorod" " " \
"posix/Europe/Vaduz" " " \
"posix/Europe/Vatican" " " \
"posix/Europe/Vienna" " " \
"posix/Europe/Vilnius" " " \
"posix/Europe/Warsaw" " " \
"posix/Europe/Zagreb" " " \
"posix/Europe/Zaporozhye" " " \
"posix/Europe/Zurich" " " \
"posix/Factory" " " \
"posix/GB" " " \
"posix/GB-Eire" " " \
"posix/GMT" " " \
"posix/GMT+0" " " \
"posix/GMT-0" " " \
"posix/GMT0" " " \
"posix/Greenwich" " " \
"posix/HST" " " \
"posix/Hongkong" " " \
"posix/Iceland" " " \
"posix/Indian/Antananarivo" " " \
"posix/Indian/Chagos" " " \
"posix/Indian/Christmas" " " \
"posix/Indian/Cocos" " " \
"posix/Indian/Comoro" " " \
"posix/Indian/Kerguelen" " " \
"posix/Indian/Mahe" " " \
"posix/Indian/Maldives" " " \
"posix/Indian/Mauritius" " " \
"posix/Indian/Mayotte" " " \
"posix/Indian/Reunion" " " \
"posix/Iran" " " \
"posix/Israel" " " \
"posix/Jamaica" " " \
"posix/Japan" " " \
"posix/Kwajalein" " " \
"posix/Libya" " " \
"posix/MET" " " \
"posix/MST" " " \
"posix/MST7MDT" " " \
"posix/Mexico/BajaNorte" " " \
"posix/Mexico/BajaSur" " " \
"posix/Mexico/General" " " \
"posix/Mideast/Riyadh87" " " \
"posix/Mideast/Riyadh88" " " \
"posix/Mideast/Riyadh89" " " \
"posix/NZ" " " \
"posix/NZ-CHAT" " " \
"posix/Navajo" " " \
"posix/PRC" " " \
"posix/PST8PDT" " " \
"posix/Pacific/Apia" " " \
"posix/Pacific/Auckland" " " \
"posix/Pacific/Chatham" " " \
"posix/Pacific/Easter" " " \
"posix/Pacific/Efate" " " \
"posix/Pacific/Enderbury" " " \
"posix/Pacific/Fakaofo" " " \
"posix/Pacific/Fiji" " " \
"posix/Pacific/Funafuti" " " \
"posix/Pacific/Galapagos" " " \
"posix/Pacific/Gambier" " " \
"posix/Pacific/Guadalcanal" " " \
"posix/Pacific/Guam" " " \
"posix/Pacific/Honolulu" " " \
"posix/Pacific/Johnston" " " \
"posix/Pacific/Kiritimati" " " \
"posix/Pacific/Kosrae" " " \
"posix/Pacific/Kwajalein" " " \
"posix/Pacific/Majuro" " " \
"posix/Pacific/Marquesas" " " \
"posix/Pacific/Midway" " " \
"posix/Pacific/Nauru" " " \
"posix/Pacific/Niue" " " \
"posix/Pacific/Norfolk" " " \
"posix/Pacific/Noumea" " " \
"posix/Pacific/Pago_Pago" " " \
"posix/Pacific/Palau" " " \
"posix/Pacific/Pitcairn" " " \
"posix/Pacific/Ponape" " " \
"posix/Pacific/Port_Moresby" " " \
"posix/Pacific/Rarotonga" " " \
"posix/Pacific/Saipan" " " \
"posix/Pacific/Samoa" " " \
"posix/Pacific/Tahiti" " " \
"posix/Pacific/Tarawa" " " \
"posix/Pacific/Tongatapu" " " \
"posix/Pacific/Truk" " " \
"posix/Pacific/Wake" " " \
"posix/Pacific/Wallis" " " \
"posix/Pacific/Yap" " " \
"posix/Poland" " " \
"posix/Portugal" " " \
"posix/ROC" " " \
"posix/ROK" " " \
"posix/Singapore" " " \
"posix/SystemV/AST4" " " \
"posix/SystemV/AST4ADT" " " \
"posix/SystemV/CST6" " " \
"posix/SystemV/CST6CDT" " " \
"posix/SystemV/EST5" " " \
"posix/SystemV/EST5EDT" " " \
"posix/SystemV/HST10" " " \
"posix/SystemV/MST7" " " \
"posix/SystemV/MST7MDT" " " \
"posix/SystemV/PST8" " " \
"posix/SystemV/PST8PDT" " " \
"posix/SystemV/YST9" " " \
"posix/SystemV/YST9YDT" " " \
"posix/Turkey" " " \
"posix/UCT" " " \
"posix/US/Alaska" " " \
"posix/US/Aleutian" " " \
"posix/US/Arizona" " " \
"posix/US/Central" " " \
"posix/US/East-Indiana" " " \
"posix/US/Eastern" " " \
"posix/US/Hawaii" " " \
"posix/US/Indiana-Starke" " " \
"posix/US/Michigan" " " \
"posix/US/Mountain" " " \
"posix/US/Pacific" " " \
"posix/US/Samoa" " " \
"posix/UTC" " " \
"posix/Universal" " " \
"posix/W-SU" " " \
"posix/WET" " " \
"posix/Zulu" " " \
"posixrules" " " \
"right/Africa/Abidjan" " " \
"right/Africa/Accra" " " \
"right/Africa/Addis_Ababa" " " \
"right/Africa/Algiers" " " \
"right/Africa/Asmera" " " \
"right/Africa/Bamako" " " \
"right/Africa/Bangui" " " \
"right/Africa/Banjul" " " \
"right/Africa/Bissau" " " \
"right/Africa/Blantyre" " " \
"right/Africa/Brazzaville" " " \
"right/Africa/Bujumbura" " " \
"right/Africa/Cairo" " " \
"right/Africa/Casablanca" " " \
"right/Africa/Ceuta" " " \
"right/Africa/Conakry" " " \
"right/Africa/Dakar" " " \
"right/Africa/Dar_es_Salaam" " " \
"right/Africa/Djibouti" " " \
"right/Africa/Douala" " " \
"right/Africa/El_Aaiun" " " \
"right/Africa/Freetown" " " \
"right/Africa/Gaborone" " " \
"right/Africa/Harare" " " \
"right/Africa/Johannesburg" " " \
"right/Africa/Kampala" " " \
"right/Africa/Khartoum" " " \
"right/Africa/Kigali" " " \
"right/Africa/Kinshasa" " " \
"right/Africa/Lagos" " " \
"right/Africa/Libreville" " " \
"right/Africa/Lome" " " \
"right/Africa/Luanda" " " \
"right/Africa/Lubumbashi" " " \
"right/Africa/Lusaka" " " \
"right/Africa/Malabo" " " \
"right/Africa/Maputo" " " \
"right/Africa/Maseru" " " \
"right/Africa/Mbabane" " " \
"right/Africa/Mogadishu" " " \
"right/Africa/Monrovia" " " \
"right/Africa/Nairobi" " " \
"right/Africa/Ndjamena" " " \
"right/Africa/Niamey" " " \
"right/Africa/Nouakchott" " " \
"right/Africa/Ouagadougou" " " \
"right/Africa/Porto-Novo" " " \
"right/Africa/Sao_Tome" " " \
"right/Africa/Timbuktu" " " \
"right/Africa/Tripoli" " " \
"right/Africa/Tunis" " " \
"right/Africa/Windhoek" " " \
"right/America/Adak" " " \
"right/America/Anchorage" " " \
"right/America/Anguilla" " " \
"right/America/Antigua" " " \
"right/America/Araguaina" " " \
"right/America/Aruba" " " \
"right/America/Asuncion" " " \
"right/America/Atka" " " \
"right/America/Barbados" " " \
"right/America/Belem" " " \
"right/America/Belize" " " \
"right/America/Boa_Vista" " " \
"right/America/Bogota" " " \
"right/America/Boise" " " \
"right/America/Buenos_Aires" " " \
"right/America/Cambridge_Bay" " " \
"right/America/Cancun" " " \
"right/America/Caracas" " " \
"right/America/Catamarca" " " \
"right/America/Cayenne" " " \
"right/America/Cayman" " " \
"right/America/Chicago" " " \
"right/America/Chihuahua" " " \
"right/America/Cordoba" " " \
"right/America/Costa_Rica" " " \
"right/America/Cuiaba" " " \
"right/America/Curacao" " " \
"right/America/Dawson" " " \
"right/America/Dawson_Creek" " " \
"right/America/Denver" " " \
"right/America/Detroit" " " \
"right/America/Dominica" " " \
"right/America/Edmonton" " " \
"right/America/Eirunepe" " " \
"right/America/El_Salvador" " " \
"right/America/Ensenada" " " \
"right/America/Fort_Wayne" " " \
"right/America/Fortaleza" " " \
"right/America/Glace_Bay" " " \
"right/America/Godthab" " " \
"right/America/Goose_Bay" " " \
"right/America/Grand_Turk" " " \
"right/America/Grenada" " " \
"right/America/Guadeloupe" " " \
"right/America/Guatemala" " " \
"right/America/Guayaquil" " " \
"right/America/Guyana" " " \
"right/America/Halifax" " " \
"right/America/Havana" " " \
"right/America/Hermosillo" " " \
"right/America/Indiana/Indianapolis" " " \
"right/America/Indiana/Knox" " " \
"right/America/Indiana/Marengo" " " \
"right/America/Indiana/Vevay" " " \
"right/America/Indianapolis" " " \
"right/America/Inuvik" " " \
"right/America/Iqaluit" " " \
"right/America/Jamaica" " " \
"right/America/Jujuy" " " \
"right/America/Juneau" " " \
"right/America/Kentucky/Louisville" " " \
"right/America/Kentucky/Monticello" " " \
"right/America/Knox_IN" " " \
"right/America/La_Paz" " " \
"right/America/Lima" " " \
"right/America/Los_Angeles" " " \
"right/America/Louisville" " " \
"right/America/Maceio" " " \
"right/America/Managua" " " \
"right/America/Manaus" " " \
"right/America/Martinique" " " \
"right/America/Mazatlan" " " \
"right/America/Mendoza" " " \
"right/America/Menominee" " " \
"right/America/Merida" " " \
"right/America/Mexico_City" " " \
"right/America/Miquelon" " " \
"right/America/Monterrey" " " \
"right/America/Montevideo" " " \
"right/America/Montreal" " " \
"right/America/Montserrat" " " \
"right/America/Nassau" " " \
"right/America/New_York" " " \
"right/America/Nipigon" " " \
"right/America/Nome" " " \
"right/America/Noronha" " " \
"right/America/Panama" " " \
"right/America/Pangnirtung" " " \
"right/America/Paramaribo" " " \
"right/America/Phoenix" " " \
"right/America/Port-au-Prince" " " \
"right/America/Port_of_Spain" " " \
"right/America/Porto_Acre" " " \
"right/America/Porto_Velho" " " \
"right/America/Puerto_Rico" " " \
"right/America/Rainy_River" " " \
"right/America/Rankin_Inlet" " " \
"right/America/Recife" " " \
"right/America/Regina" " " \
"right/America/Rosario" " " \
"right/America/Santiago" " " \
"right/America/Santo_Domingo" " " \
"right/America/Sao_Paulo" " " \
"right/America/Scoresbysund" " " \
"right/America/Shiprock" " " \
"right/America/St_Johns" " " \
"right/America/St_Kitts" " " \
"right/America/St_Lucia" " " \
"right/America/St_Thomas" " " \
"right/America/St_Vincent" " " \
"right/America/Swift_Current" " " \
"right/America/Tegucigalpa" " " \
"right/America/Thule" " " \
"right/America/Thunder_Bay" " " \
"right/America/Tijuana" " " \
"right/America/Tortola" " " \
"right/America/Vancouver" " " \
"right/America/Virgin" " " \
"right/America/Whitehorse" " " \
"right/America/Winnipeg" " " \
"right/America/Yakutat" " " \
"right/America/Yellowknife" " " \
"right/Antarctica/Casey" " " \
"right/Antarctica/Davis" " " \
"right/Antarctica/DumontDUrville" " " \
"right/Antarctica/Mawson" " " \
"right/Antarctica/McMurdo" " " \
"right/Antarctica/Palmer" " " \
"right/Antarctica/South_Pole" " " \
"right/Antarctica/Syowa" " " \
"right/Arctic/Longyearbyen" " " \
"right/Asia/Aden" " " \
"right/Asia/Almaty" " " \
"right/Asia/Amman" " " \
"right/Asia/Anadyr" " " \
"right/Asia/Aqtau" " " \
"right/Asia/Aqtobe" " " \
"right/Asia/Ashgabat" " " \
"right/Asia/Ashkhabad" " " \
"right/Asia/Baghdad" " " \
"right/Asia/Bahrain" " " \
"right/Asia/Baku" " " \
"right/Asia/Bangkok" " " \
"right/Asia/Beirut" " " \
"right/Asia/Bishkek" " " \
"right/Asia/Brunei" " " \
"right/Asia/Calcutta" " " \
"right/Asia/Chungking" " " \
"right/Asia/Colombo" " " \
"right/Asia/Dacca" " " \
"right/Asia/Damascus" " " \
"right/Asia/Dhaka" " " \
"right/Asia/Dili" " " \
"right/Asia/Dubai" " " \
"right/Asia/Dushanbe" " " \
"right/Asia/Gaza" " " \
"right/Asia/Harbin" " " \
"right/Asia/Hong_Kong" " " \
"right/Asia/Hovd" " " \
"right/Asia/Irkutsk" " " \
"right/Asia/Istanbul" " " \
"right/Asia/Jakarta" " " \
"right/Asia/Jayapura" " " \
"right/Asia/Jerusalem" " " \
"right/Asia/Kabul" " " \
"right/Asia/Kamchatka" " " \
"right/Asia/Karachi" " " \
"right/Asia/Kashgar" " " \
"right/Asia/Katmandu" " " \
"right/Asia/Krasnoyarsk" " " \
"right/Asia/Kuala_Lumpur" " " \
"right/Asia/Kuching" " " \
"right/Asia/Kuwait" " " \
"right/Asia/Macao" " " \
"right/Asia/Magadan" " " \
"right/Asia/Manila" " " \
"right/Asia/Muscat" " " \
"right/Asia/Nicosia" " " \
"right/Asia/Novosibirsk" " " \
"right/Asia/Omsk" " " \
"right/Asia/Phnom_Penh" " " \
"right/Asia/Pyongyang" " " \
"right/Asia/Qatar" " " \
"right/Asia/Rangoon" " " \
"right/Asia/Riyadh" " " \
"right/Asia/Riyadh87" " " \
"right/Asia/Riyadh88" " " \
"right/Asia/Riyadh89" " " \
"right/Asia/Saigon" " " \
"right/Asia/Samarkand" " " \
"right/Asia/Seoul" " " \
"right/Asia/Shanghai" " " \
"right/Asia/Singapore" " " \
"right/Asia/Taipei" " " \
"right/Asia/Tashkent" " " \
"right/Asia/Tbilisi" " " \
"right/Asia/Tehran" " " \
"right/Asia/Tel_Aviv" " " \
"right/Asia/Thimbu" " " \
"right/Asia/Thimphu" " " \
"right/Asia/Tokyo" " " \
"right/Asia/Ujung_Pandang" " " \
"right/Asia/Ulaanbaatar" " " \
"right/Asia/Ulan_Bator" " " \
"right/Asia/Urumqi" " " \
"right/Asia/Vientiane" " " \
"right/Asia/Vladivostok" " " \
"right/Asia/Yakutsk" " " \
"right/Asia/Yekaterinburg" " " \
"right/Asia/Yerevan" " " \
"right/Atlantic/Azores" " " \
"right/Atlantic/Bermuda" " " \
"right/Atlantic/Canary" " " \
"right/Atlantic/Cape_Verde" " " \
"right/Atlantic/Faeroe" " " \
"right/Atlantic/Jan_Mayen" " " \
"right/Atlantic/Madeira" " " \
"right/Atlantic/Reykjavik" " " \
"right/Atlantic/South_Georgia" " " \
"right/Atlantic/St_Helena" " " \
"right/Atlantic/Stanley" " " \
"right/Australia/ACT" " " \
"right/Australia/Adelaide" " " \
"right/Australia/Brisbane" " " \
"right/Australia/Broken_Hill" " " \
"right/Australia/Canberra" " " \
"right/Australia/Darwin" " " \
"right/Australia/Hobart" " " \
"right/Australia/LHI" " " \
"right/Australia/Lindeman" " " \
"right/Australia/Lord_Howe" " " \
"right/Australia/Melbourne" " " \
"right/Australia/NSW" " " \
"right/Australia/North" " " \
"right/Australia/Perth" " " \
"right/Australia/Queensland" " " \
"right/Australia/South" " " \
"right/Australia/Sydney" " " \
"right/Australia/Tasmania" " " \
"right/Australia/Victoria" " " \
"right/Australia/West" " " \
"right/Australia/Yancowinna" " " \
"right/Brazil/Acre" " " \
"right/Brazil/DeNoronha" " " \
"right/Brazil/East" " " \
"right/Brazil/West" " " \
"right/CET" " " \
"right/CST6CDT" " " \
"right/Canada/Atlantic" " " \
"right/Canada/Central" " " \
"right/Canada/East-Saskatchewan" " " \
"right/Canada/Eastern" " " \
"right/Canada/Mountain" " " \
"right/Canada/Newfoundland" " " \
"right/Canada/Pacific" " " \
"right/Canada/Saskatchewan" " " \
"right/Canada/Yukon" " " \
"right/Chile/Continental" " " \
"right/Chile/EasterIsland" " " \
"right/Cuba" " " \
"right/EET" " " \
"right/EST" " " \
"right/EST5EDT" " " \
"right/Egypt" " " \
"right/Eire" " " \
"right/Etc/GMT" " " \
"right/Etc/GMT+0" " " \
"right/Etc/GMT+1" " " \
"right/Etc/GMT+10" " " \
"right/Etc/GMT+11" " " \
"right/Etc/GMT+12" " " \
"right/Etc/GMT+2" " " \
"right/Etc/GMT+3" " " \
"right/Etc/GMT+4" " " \
"right/Etc/GMT+5" " " \
"right/Etc/GMT+6" " " \
"right/Etc/GMT+7" " " \
"right/Etc/GMT+8" " " \
"right/Etc/GMT+9" " " \
"right/Etc/GMT-0" " " \
"right/Etc/GMT-1" " " \
"right/Etc/GMT-10" " " \
"right/Etc/GMT-11" " " \
"right/Etc/GMT-12" " " \
"right/Etc/GMT-13" " " \
"right/Etc/GMT-14" " " \
"right/Etc/GMT-2" " " \
"right/Etc/GMT-3" " " \
"right/Etc/GMT-4" " " \
"right/Etc/GMT-5" " " \
"right/Etc/GMT-6" " " \
"right/Etc/GMT-7" " " \
"right/Etc/GMT-8" " " \
"right/Etc/GMT-9" " " \
"right/Etc/GMT0" " " \
"right/Etc/Greenwich" " " \
"right/Etc/UCT" " " \
"right/Etc/UTC" " " \
"right/Etc/Universal" " " \
"right/Etc/Zulu" " " \
"right/Europe/Amsterdam" " " \
"right/Europe/Andorra" " " \
"right/Europe/Athens" " " \
"right/Europe/Belfast" " " \
"right/Europe/Belgrade" " " \
"right/Europe/Berlin" " " \
"right/Europe/Bratislava" " " \
"right/Europe/Brussels" " " \
"right/Europe/Bucharest" " " \
"right/Europe/Budapest" " " \
"right/Europe/Chisinau" " " \
"right/Europe/Copenhagen" " " \
"right/Europe/Dublin" " " \
"right/Europe/Gibraltar" " " \
"right/Europe/Helsinki" " " \
"right/Europe/Istanbul" " " \
"right/Europe/Kaliningrad" " " \
"right/Europe/Kiev" " " \
"right/Europe/Lisbon" " " \
"right/Europe/Ljubljana" " " \
"right/Europe/London" " " \
"right/Europe/Luxembourg" " " \
"right/Europe/Madrid" " " \
"right/Europe/Malta" " " \
"right/Europe/Minsk" " " \
"right/Europe/Monaco" " " \
"right/Europe/Moscow" " " \
"right/Europe/Nicosia" " " \
"right/Europe/Oslo" " " \
"right/Europe/Paris" " " \
"right/Europe/Prague" " " \
"right/Europe/Riga" " " \
"right/Europe/Rome" " " \
"right/Europe/Samara" " " \
"right/Europe/San_Marino" " " \
"right/Europe/Sarajevo" " " \
"right/Europe/Simferopol" " " \
"right/Europe/Skopje" " " \
"right/Europe/Sofia" " " \
"right/Europe/Stockholm" " " \
"right/Europe/Tallinn" " " \
"right/Europe/Tirane" " " \
"right/Europe/Tiraspol" " " \
"right/Europe/Uzhgorod" " " \
"right/Europe/Vaduz" " " \
"right/Europe/Vatican" " " \
"right/Europe/Vienna" " " \
"right/Europe/Vilnius" " " \
"right/Europe/Warsaw" " " \
"right/Europe/Zagreb" " " \
"right/Europe/Zaporozhye" " " \
"right/Europe/Zurich" " " \
"right/Factory" " " \
"right/GB" " " \
"right/GB-Eire" " " \
"right/GMT" " " \
"right/GMT+0" " " \
"right/GMT-0" " " \
"right/GMT0" " " \
"right/Greenwich" " " \
"right/HST" " " \
"right/Hongkong" " " \
"right/Iceland" " " \
"right/Indian/Antananarivo" " " \
"right/Indian/Chagos" " " \
"right/Indian/Christmas" " " \
"right/Indian/Cocos" " " \
"right/Indian/Comoro" " " \
"right/Indian/Kerguelen" " " \
"right/Indian/Mahe" " " \
"right/Indian/Maldives" " " \
"right/Indian/Mauritius" " " \
"right/Indian/Mayotte" " " \
"right/Indian/Reunion" " " \
"right/Iran" " " \
"right/Israel" " " \
"right/Jamaica" " " \
"right/Japan" " " \
"right/Kwajalein" " " \
"right/Libya" " " \
"right/MET" " " \
"right/MST" " " \
"right/MST7MDT" " " \
"right/Mexico/BajaNorte" " " \
"right/Mexico/BajaSur" " " \
"right/Mexico/General" " " \
"right/Mideast/Riyadh87" " " \
"right/Mideast/Riyadh88" " " \
"right/Mideast/Riyadh89" " " \
"right/NZ" " " \
"right/NZ-CHAT" " " \
"right/Navajo" " " \
"right/PRC" " " \
"right/PST8PDT" " " \
"right/Pacific/Apia" " " \
"right/Pacific/Auckland" " " \
"right/Pacific/Chatham" " " \
"right/Pacific/Easter" " " \
"right/Pacific/Efate" " " \
"right/Pacific/Enderbury" " " \
"right/Pacific/Fakaofo" " " \
"right/Pacific/Fiji" " " \
"right/Pacific/Funafuti" " " \
"right/Pacific/Galapagos" " " \
"right/Pacific/Gambier" " " \
"right/Pacific/Guadalcanal" " " \
"right/Pacific/Guam" " " \
"right/Pacific/Honolulu" " " \
"right/Pacific/Johnston" " " \
"right/Pacific/Kiritimati" " " \
"right/Pacific/Kosrae" " " \
"right/Pacific/Kwajalein" " " \
"right/Pacific/Majuro" " " \
"right/Pacific/Marquesas" " " \
"right/Pacific/Midway" " " \
"right/Pacific/Nauru" " " \
"right/Pacific/Niue" " " \
"right/Pacific/Norfolk" " " \
"right/Pacific/Noumea" " " \
"right/Pacific/Pago_Pago" " " \
"right/Pacific/Palau" " " \
"right/Pacific/Pitcairn" " " \
"right/Pacific/Ponape" " " \
"right/Pacific/Port_Moresby" " " \
"right/Pacific/Rarotonga" " " \
"right/Pacific/Saipan" " " \
"right/Pacific/Samoa" " " \
"right/Pacific/Tahiti" " " \
"right/Pacific/Tarawa" " " \
"right/Pacific/Tongatapu" " " \
"right/Pacific/Truk" " " \
"right/Pacific/Wake" " " \
"right/Pacific/Wallis" " " \
"right/Pacific/Yap" " " \
"right/Poland" " " \
"right/Portugal" " " \
"right/ROC" " " \
"right/ROK" " " \
"right/Singapore" " " \
"right/SystemV/AST4" " " \
"right/SystemV/AST4ADT" " " \
"right/SystemV/CST6" " " \
"right/SystemV/CST6CDT" " " \
"right/SystemV/EST5" " " \
"right/SystemV/EST5EDT" " " \
"right/SystemV/HST10" " " \
"right/SystemV/MST7" " " \
"right/SystemV/MST7MDT" " " \
"right/SystemV/PST8" " " \
"right/SystemV/PST8PDT" " " \
"right/SystemV/YST9" " " \
"right/SystemV/YST9YDT" " " \
"right/Turkey" " " \
"right/UCT" " " \
"right/US/Alaska" " " \
"right/US/Aleutian" " " \
"right/US/Arizona" " " \
"right/US/Central" " " \
"right/US/East-Indiana" " " \
"right/US/Eastern" " " \
"right/US/Hawaii" " " \
"right/US/Indiana-Starke" " " \
"right/US/Michigan" " " \
"right/US/Mountain" " " \
"right/US/Pacific" " " \
"right/US/Samoa" " " \
"right/UTC" " " \
"right/Universal" " " \
"right/W-SU" " " \
"right/WET" " " \
"right/Zulu" " " \
   2> $TMP/tz

   if [ $? = 1 -o $? = 255 ]; then
      rm -f $TMP/tz
      exit
   fi

   TIMEZONE="`cat $TMP/tz`"
   rm -f $TMP/tz

   setzone $TIMEZONE
   exit
else
   ###
   ### use text prompts
   ###
   while [ 0 ]; do
      echo -n "Would you like to configure your timezone ([y]es, [n]o)? "
      read TIMECONF;
      echo

      if [ "$TIMECONF" = "n" ]; then
         break
      fi

      cat << EOF
Select one of these timezones:

Australia/LHI Australia/NSW Australia/North Australia/Queensland
Australia/South Australia/Tasmania Australia/Victoria Australia/West
Australia/Yancowinna Brazil/Acre Brazil/DeNoronha Brazil/East Brazil/West
Canada/Atlantic Canada/Central Canada/East-Saskatche Canada/Eastern 
Canada/Mountain Canada/Newfoundland Canada/Pacific Canada/Yukon 
Chile/Continental Chile/EasterIsland CET Cuba EET Egypt Factory GB-Eire GMT
GMT+0 GMT+1 GMT+10 GMT+11 GMT+12 GMT+13 GMT+2 GMT+3 GMT+4 GMT+5 GMT+6 GMT+7
GMT+8 GMT+9 GMT-0 GMT-1 GMT-10 GMT-11 GMT-12 GMT-2 GMT-3 GMT-4 GMT-5 GMT-6 GMT-7
GMT-8 GMT-9 GMT0 GMT1 GMT10 GMT11 GMT12 GMT13 GMT2 GMT3 GMT4 GMT5 GMT6 GMT7
GMT8 GMT9 Greenwich Hongkong Iceland Iran Israel Jamaica Japan Libya 
Mexico/BajaNorte Mexico/BajaSur Mexico/General MET NZ Navajo PRC Poland ROC ROK
Singapore SystemV/AST4 SystemV/AST4ADT SystemV/CST6 SystemV/CST6CDT 
SystemV/EST5 SystemV/EST5EDT SystemV/HST10 SystemV/MST7 SystemV/MST7MDT 
SystemV/PST8 SystemV/PST8PDT SystemV/YST9 SystemV/YST9YDT Turkey UCT UTC 
Universal US/Alaska US/Aleutian US/Arizona US/Central US/East-Indiana 
US/Eastern US/Hawaii US/Indiana-Starke US/Michigan US/Mountain US/Pacific
US/Samoa W-SU WET Zulu

Type it at the prompt below exactly as it appears above.  (NOTE: If you don't
see your timezone, use "timeconfig" again after booting for the verbose list)

EOF
      echo -n "Timezone? "
      read TIMEZONE;
      echo

      if [ -r $T_PX/usr/share/zoneinfo/$TIMEZONE -o \
           -r /var/log/mount/usr/share/zoneinfo/$TIMEZONE -o \
           -L $T_PX/usr/share/zoneinfo/$TIMEZONE -o \
           -L /var/log/mount/usr/share/zoneinfo/$TIMEZONE ]; then
         echo "Creating link from $TIMEZONE to localtime in /etc..."
         echo
         setzone $TIMEZONE
         exit
      else
         cat << EOF

Timezone $TIMEZONE could not be found. You may try again if you wish. 
Make sure you type the name exactly as it appears - this configuration script
is case sensitive.

Press [enter] to continue.

EOF
         read JUNK;
      fi
   done
fi
