aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-xrc.d/rc.sysinit18
1 files changed, 0 insertions, 18 deletions
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