diff options
author | Bill Nottingham <notting@redhat.com> | 2008-03-11 15:26:46 -0400 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2008-03-11 15:26:46 -0400 |
commit | 696d91f8bacf11b543119069b46b7fbefa495e39 (patch) | |
tree | c4d652cf702f8e1305a22d25118fd8492512357a /rc.d/rc.sysinit | |
parent | 6cc0dede699e7505e832988bfb8229bf78399289 (diff) | |
download | initscripts-696d91f8bacf11b543119069b46b7fbefa495e39.tar initscripts-696d91f8bacf11b543119069b46b7fbefa495e39.tar.gz initscripts-696d91f8bacf11b543119069b46b7fbefa495e39.tar.bz2 initscripts-696d91f8bacf11b543119069b46b7fbefa495e39.tar.xz initscripts-696d91f8bacf11b543119069b46b7fbefa495e39.zip |
Use upstart to start rhgb. Add conflict for older versions.
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 0f0a238b..abb2ae6a 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" -a -x /usr/bin/rhgb ]; then - ( . /etc/sysconfig/i18n 2>/dev/null ; /usr/bin/rhgb ) +if strstr "$cmdline" rhgb && ! strstr "$cmdline" early-login && [ "$BOOTUP" = "color" -a "$GRAPHICAL" = "yes" ]; then + /sbin/start 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" -a -x /usr/bin/rhgb ]; then - ( . /etc/sysconfig/i18n 2>/dev/null ; /usr/bin/rhgb ) +if strstr "$cmdline" rhgb && ! strstr "$cmdline" early-login && [ -z "$RHGB_STARTED" -a "$BOOTUP" = "color" -a "$GRAPHICAL" = "yes" ]; then + /sbin/start rhgb RHGB_STARTED=1 fi |