aboutsummaryrefslogtreecommitdiff
path: root/rc.sysinit
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2012-07-18 17:29:32 +0200
committerTom Gundersen <teg@jklm.no>2012-07-18 17:29:32 +0200
commitced7f5b6dc5fc68bd9072e967ba2c5a4094cf1f2 (patch)
tree5b03c1c833c15f352aa36b176a79c91ed5b374db /rc.sysinit
parent339aaf3e26269cf256f92058b0254d78e46ad32b (diff)
downloadinitscripts-ced7f5b6dc5fc68bd9072e967ba2c5a4094cf1f2.tar.xz
rc.sysinit: remove redundant export of LANG
This is done in 'functions' which is sourced by rc.sysinit. Furthermore, this makes sure we take DAEMON_LOCALE into account. Report: <https://bbs.archlinux.org/viewtopic.php?pid=1125166> Signed-off-by: Tom Gundersen <teg@jklm.no>
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-xrc.sysinit6
1 files changed, 0 insertions, 6 deletions
diff --git a/rc.sysinit b/rc.sysinit
index 8a3c5a4..d8929de 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -6,12 +6,6 @@
. /etc/rc.conf
. /etc/rc.d/functions
-if [[ -s /etc/locale.conf ]]; then
- parse_envfile /etc/locale.conf "LANG"
-elif [[ $LOCALE ]]; then
- export LANG=$LOCALE
-fi
-
# Prints distro name and URL
print_welcome