diff options
author | Bill Nottingham <notting@redhat.com> | 2008-06-19 11:18:26 -0400 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2008-06-19 11:18:26 -0400 |
commit | 618b209de75be1f80406aa7df787292249343fd3 (patch) | |
tree | 9394cac447091e70ef5a153c4f88d0715f547760 /rc.d/rc.sysinit | |
parent | 5a34a28455350aedcbf47d255baf80fde39c79b5 (diff) | |
download | initscripts-618b209de75be1f80406aa7df787292249343fd3.tar initscripts-618b209de75be1f80406aa7df787292249343fd3.tar.gz initscripts-618b209de75be1f80406aa7df787292249343fd3.tar.bz2 initscripts-618b209de75be1f80406aa7df787292249343fd3.tar.xz initscripts-618b209de75be1f80406aa7df787292249343fd3.zip |
Don't export GRAPHICAL - plymouth is for all modes.
Don't try to start rhgb.
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-x | rc.d/rc.sysinit | 18 |
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 |