diff options
author | Érico Rolim <erico.erc@gmail.com> | 2020-04-18 18:39:14 -0300 |
---|---|---|
committer | Toyam Cox <aviator45003@gmail.com> | 2020-07-28 10:40:40 -0400 |
commit | 8ab6d402b5d6d134dc3ac59742220107911d7750 (patch) | |
tree | 873851c9893741e8c893b634510f0f8fbb61f79d | |
parent | 05c6e86e085e0c0fdfc84a013477efd51e700845 (diff) | |
download | runit-void-8ab6d402b5d6d134dc3ac59742220107911d7750.tar.gz runit-void-8ab6d402b5d6d134dc3ac59742220107911d7750.tar.xz runit-void-8ab6d402b5d6d134dc3ac59742220107911d7750.zip |
rc.conf: add note recommending /etc/localtime
Recommend users to symlink their timezone to /etc/localtime instead of setting TZ in /etc/rc.conf. List disadvantages of setting it in rc.conf.
-rw-r--r-- | rc.conf | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/rc.conf b/rc.conf index 5dbad2e..db59f84 100644 --- a/rc.conf +++ b/rc.conf @@ -10,7 +10,13 @@ # Set RTC to UTC or localtime. #HARDWARECLOCK="UTC" -# Set timezone, availables timezones at /usr/share/zoneinfo. +# Set timezone, availables timezones can be found at /usr/share/zoneinfo. +# +# NOTE: it's preferred to set the timezone in /etc/localtime instead: +# - ln -sf /usr/share/zoneinfo/<timezone> /etc/localtime +# Setting the timezone here requires a reboot to apply any changes/fixes +# and read-write access to the filesystem. +# #TIMEZONE="Europe/Madrid" # Keymap to load, see loadkeys(8). |