diff options
author | Bill Nottingham <notting@redhat.com> | 2006-10-26 20:57:48 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2006-10-26 20:57:48 +0000 |
commit | c3f014d2be64f0fb4d9a5e4f14a65a6599dd8002 (patch) | |
tree | 50a96f24fa191638610386328bdb12b78e22a436 /rc.d/rc.sysinit | |
parent | 551f31986184e3493236603820af417af99d14ea (diff) | |
download | initscripts-c3f014d2be64f0fb4d9a5e4f14a65a6599dd8002.tar initscripts-c3f014d2be64f0fb4d9a5e4f14a65a6599dd8002.tar.gz initscripts-c3f014d2be64f0fb4d9a5e4f14a65a6599dd8002.tar.bz2 initscripts-c3f014d2be64f0fb4d9a5e4f14a65a6599dd8002.tar.xz initscripts-c3f014d2be64f0fb4d9a5e4f14a65a6599dd8002.zip |
fix or_IN and similar locales (#212219)
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-x | rc.d/rc.sysinit | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index f9e70add..fae42e55 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -348,8 +348,8 @@ RHGB_STARTED=0 mount -n /dev/pts >/dev/null 2>&1 [ -n "$SELINUX_STATE" ] && restorecon /dev/pts >/dev/null 2>&1 -if strstr "$cmdline" rhgb && [ "$BOOTUP" = "color" -a "$GRAPHICAL" = "yes" -a -x /usr/bin/rhgb ]; then - LC_MESSAGES= /usr/bin/rhgb +if strstr "$cmdline" rhgb && ! strstr "$cmdline" early-login && [ "$BOOTUP" = "color" -a "$GRAPHICAL" = "yes" -a -x /usr/bin/rhgb ]; then + ( . /etc/sysconfig/i18n 2>/dev/null ; /usr/bin/rhgb ) RHGB_STARTED=1 fi @@ -757,8 +757,8 @@ fi # Start the graphical boot, if necessary and not done yet. -if strstr "$cmdline" rhgb && [ "$RHGB_STARTED" -eq 0 -a "$BOOTUP" = "color" -a "$GRAPHICAL" = "yes" -a -x /usr/bin/rhgb ]; then - LC_MESSAGES= /usr/bin/rhgb +if strstr "$cmdline" rhgb && ! strstr "$cmdline" early-login && [ "$RHGB_STARTED" -eq 0 -a "$BOOTUP" = "color" -a "$GRAPHICAL" = "yes" -a -x /usr/bin/rhgb ]; then + ( . /etc/sysconfig/i18n 2>/dev/null ; /usr/bin/rhgb ) RHGB_STARTED=1 fi |