Added support for /etc/locale.conf with fallback to /etc/sysconfig/i18n for LANG setting
This commit is contained in:
parent
a77a2db442
commit
fc5bb6b8db
@ -6,7 +6,7 @@
|
|||||||
. /etc/sysconfig/rc
|
. /etc/sysconfig/rc
|
||||||
. $rc_functions
|
. $rc_functions
|
||||||
|
|
||||||
. /etc/sysconfig/i18n
|
[ -e /etc/locale.conf ] && . /etc/locale.conf || . /etc/sysconfig/i18n
|
||||||
LC_ALL=$LANG
|
LC_ALL=$LANG
|
||||||
TEXTDOMAIN=initscripts
|
TEXTDOMAIN=initscripts
|
||||||
TEXTDOMAINDIR=/usr/share/locale/
|
TEXTDOMAINDIR=/usr/share/locale/
|
||||||
|
@ -12,7 +12,7 @@ if [ -r $rc_base/init.d/rc.embedded ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
. $rc_functions
|
. $rc_functions
|
||||||
. /etc/sysconfig/i18n
|
[ -e /etc/locale.conf ] && . /etc/locale.conf || . /etc/sysconfig/i18n
|
||||||
|
|
||||||
LC_ALL=$LANG
|
LC_ALL=$LANG
|
||||||
TEXTDOMAIN=initscripts
|
TEXTDOMAIN=initscripts
|
||||||
|
@ -14,7 +14,7 @@ if [ -r $rc_base/init.d/rc.sysinit.embedded ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
. $rc_functions
|
. $rc_functions
|
||||||
. /etc/sysconfig/i18n
|
[ -e /etc/locale.conf ] && . /etc/locale.conf || . /etc/sysconfig/i18n
|
||||||
LC_ALL=$LANG
|
LC_ALL=$LANG
|
||||||
TEXTDOMAIN=initscripts
|
TEXTDOMAIN=initscripts
|
||||||
TEXTDOMAINDIR=/usr/share/locale/
|
TEXTDOMAINDIR=/usr/share/locale/
|
||||||
|
Loading…
Reference in New Issue
Block a user