aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2008-03-11 17:44:32 -0400
committerBill Nottingham <notting@redhat.com>2008-03-11 17:44:32 -0400
commit1d69f36ebf07832ac275493ae6bfe60d4671c382 (patch)
tree2089adabea2ca67a005aef545220b77118dbe6eb /rc.d
parent4b15ba090579fc54a9edcca120e8755747101064 (diff)
downloadinitscripts-1d69f36ebf07832ac275493ae6bfe60d4671c382.tar
initscripts-1d69f36ebf07832ac275493ae6bfe60d4671c382.tar.gz
initscripts-1d69f36ebf07832ac275493ae6bfe60d4671c382.tar.bz2
initscripts-1d69f36ebf07832ac275493ae6bfe60d4671c382.tar.xz
initscripts-1d69f36ebf07832ac275493ae6bfe60d4671c382.zip
Revert "Use upstart to start rhgb. Add conflict for older versions."
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/rc.sysinit8
1 files changed, 4 insertions, 4 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index abb2ae6a..0f0a238b 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -305,8 +305,8 @@ RHGB_STARTED=
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" ]; then
- /sbin/start 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
@@ -674,8 +674,8 @@ fi
# Start the graphical boot, if necessary and not done yet.
-if strstr "$cmdline" rhgb && ! strstr "$cmdline" early-login && [ -z "$RHGB_STARTED" -a "$BOOTUP" = "color" -a "$GRAPHICAL" = "yes" ]; then
- /sbin/start rhgb
+if strstr "$cmdline" rhgb && ! strstr "$cmdline" early-login && [ -z "$RHGB_STARTED" -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