aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2006-10-26 20:59:48 +0000
committerBill Nottingham <notting@redhat.com>2006-10-26 20:59:48 +0000
commit1687871f94806ba7dbea95c02dda1deebf8a848e (patch)
tree2b90dc9fa45bf62069db73e60a9a2b9f71ef4f07 /rc.d/rc.sysinit
parentcfc45d608bb0d01626f255b82e0b1f7542b402bb (diff)
downloadinitscripts-1687871f94806ba7dbea95c02dda1deebf8a848e.tar
initscripts-1687871f94806ba7dbea95c02dda1deebf8a848e.tar.gz
initscripts-1687871f94806ba7dbea95c02dda1deebf8a848e.tar.bz2
initscripts-1687871f94806ba7dbea95c02dda1deebf8a848e.tar.xz
initscripts-1687871f94806ba7dbea95c02dda1deebf8a848e.zip
fix or_IN and similar locales (#212438)
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-xrc.d/rc.sysinit4
1 files changed, 2 insertions, 2 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 2b732697..60e034c1 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -349,7 +349,7 @@ mount -n /dev/pts >/dev/null 2>&1
[ -n "$SELINUX_STATE" ] && restorecon /dev/pts >/dev/null 2>&1
if strstr "$cmdline" rhgb && ! strstr "$cmdline" early-login && [ "$BOOTUP" = "color" -a "$GRAPHICAL" = "yes" -a -x /usr/bin/rhgb ]; then
- LC_MESSAGES= /usr/bin/rhgb
+ ( . /etc/sysconfig/i18n 2>/dev/null ; /usr/bin/rhgb )
RHGB_STARTED=1
fi
@@ -742,7 +742,7 @@ fi
# Start the graphical boot, if necessary and not done yet.
if strstr "$cmdline" rhgb && ! strstr "$cmdline" early-login && [ "$RHGB_STARTED" -eq 0 -a "$BOOTUP" = "color" -a "$GRAPHICAL" = "yes" -a -x /usr/bin/rhgb ]; then
- LC_MESSAGES= /usr/bin/rhgb
+ ( . /etc/sysconfig/i18n 2>/dev/null ; /usr/bin/rhgb )
RHGB_STARTED=1
fi