Skip to content

Commit 2444018

Browse files
committed
config/date-time: warn that rc.conf TIMEZONE should be removed when linking
1 parent a3a54a5 commit 2444018

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/config/date-time.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ The default system timezone can be set by linking the timezone file to
1212
# ln -sf /usr/share/zoneinfo/<timezone> /etc/localtime
1313
```
1414

15+
> Note: If the variable `TIMEZONE` is set in `/etc/rc.conf`, it should be
16+
> removed or commented out, as this will override what has been set with `ln` on
17+
> reboot.
18+
1519
To change the timezone on a per user basis, the `TZ` variable can be exported
1620
from your shell's profile:
1721

0 commit comments

Comments
 (0)