The tzsetup utility reads a database of time zone information and presents a menu allowing the user to select a specific time zone. The selected time zone is installed as the FBSD operating systemís default time zone. The tzsetup utility also determines whether any adjustment is necessary for systems where the hardware clock does not keep UTC. The bsdinstall install process forces you to do this as part of the original install process. It's shown here for those people who travel into different time zones or to different locations on the planet.
Type tzsetup on the command line and hit enter and you receive the following.
User Confirmation Requested
Is this machine's CMOS clock set to UTC? If it is set to local time
or you don't know, please choose NO here! >
Yes [ No ]
Select [ Yes ] or [ No ]
according to how the machine's clock is configured and
Select Your Region
Use the arrow keys to highlight your region and then press Enter.
Select Your Country
Use the arrow keys to highlight your country and then press Enter.
Select Your Time Zone
Use the arrow keys to highlight your time zone and then pres Enter.
Does the abbreviation 'EDT' look reasonable?
[ Yes ] No
Confirm the abbreviation for the time zone is correct. If it looks okay,
At completion the Tzsetup utility creates a new file in /etc called localtime.
Previous Page Next Page
This FreeBSD Install Guide is an public domain HOW-TO. This content may be reproduced, in any form or by any means, and used by all without permission in writing from the author.