Skip to content

Commit a4d02f9

Browse files
authored
config/date-time: warn that rc.conf TIMEZONE should be removed when linking
1 parent 491a04b commit a4d02f9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/config/date-time.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ The default system timezone can be set by linking the timezone file to
1111
```
1212
# ln -sf /usr/share/zoneinfo/<timezone> /etc/localtime
1313
```
14+
> Note: If the variable `TIMEZONE` is set in `/etc/rc.conf`, it should be removed
15+
> or commented out, as this will override what has been set with `ln` on reboot.
1416
1517
To change the timezone on a per user basis, the `TZ` variable can be exported
1618
from your shell's profile:

0 commit comments

Comments
 (0)