summaryrefslogtreecommitdiff
path: root/rc.conf
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2011-10-17 20:55:38 +0200
committerTom Gundersen <teg@jklm.no>2011-10-18 09:36:22 +0200
commit137a7347ff975e4988d7fd999a0a6c32fee0464b (patch)
treef07ced1072d2b204d80e063e3a75d7a80d8786b4 /rc.conf
parent4f4681a94923e69b9e078db6f2cae585ecbbb612 (diff)
locale.sh: support /etc/locale.conf
This is mainly to support non-bash shells that cannot source rc.conf. The format of /etc/locale.conf is described here: <http://0pointer.de/public/systemd-man/locale.conf.html>. If LANG is not set in locale.conf, then we fall back to LOCALE from rc.conf, as before. Signed-off-by: Tom Gundersen <teg@jklm.no>
Diffstat (limited to 'rc.conf')
-rw-r--r--rc.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/rc.conf b/rc.conf
index 303a035..d91dff7 100644
--- a/rc.conf
+++ b/rc.conf
@@ -7,6 +7,7 @@
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
+# LANG in /etc/locale.conf takes precedence
# DAEMON_LOCALE: If set to 'yes', use $LOCALE as the locale during daemon
# startup and during the boot process. If set to 'no', the C locale is used.
# HARDWARECLOCK: set to "", "UTC" or "localtime", any other value will result