From 618b209de75be1f80406aa7df787292249343fd3 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 19 Jun 2008 11:18:26 -0400 Subject: Don't export GRAPHICAL - plymouth is for all modes. Don't try to start rhgb. --- rc.d/rc.sysinit | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'rc.d/rc.sysinit') diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 2a0f61bc..7dcf5c39 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -301,17 +301,6 @@ if [ -f /etc/rc.modules ]; then /etc/rc.modules fi -# Start the graphical boot, if necessary; /usr may not be mounted yet, so we -# may have to do this again after mounting -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 ) - RHGB_STARTED=1 -fi - # Configure kernel parameters update_boot_stage RCkernelparam sysctl -e -p /etc/sysctl.conf >/dev/null 2>&1 @@ -674,13 +663,6 @@ else fi 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 ) - RHGB_STARTED=1 -fi - # Initialize pseudo-random number generator if [ -f "/var/lib/random-seed" ]; then cat /var/lib/random-seed > /dev/urandom -- cgit v1.2.1