diff options
Diffstat (limited to 'rc.d/init.d')
-rwxr-xr-x | rc.d/init.d/functions | 2 | ||||
-rwxr-xr-x | rc.d/init.d/halt | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions index 65c10ddf..8d055bc4 100755 --- a/rc.d/init.d/functions +++ b/rc.d/init.d/functions @@ -20,7 +20,7 @@ export PATH="/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin" # Get a sane screen width [ -z "$COLUMNS" ] && COLUMNS=80 -if [ -f /etc/sysconfig/i18n ] ; then +if [ -f /etc/sysconfig/i18n -a -z "$NOLOCALE" ] ; then . /etc/sysconfig/i18n if [ "$LANG" = "ja_JP.eucJP" -a "`/sbin/consoletype`" != "pty" ]; then unset LANG diff --git a/rc.d/init.d/halt b/rc.d/init.d/halt index 4f9eedb1..b5a626b0 100755 --- a/rc.d/init.d/halt +++ b/rc.d/init.d/halt @@ -11,6 +11,7 @@ # Set the path. PATH=/sbin:/bin:/usr/bin:/usr/sbin +export NOLOCALE=1 . /etc/init.d/functions runcmd() { |