aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2005-04-15 17:44:24 +0000
committerBill Nottingham <notting@redhat.com>2005-04-15 17:44:24 +0000
commit8986e4b2efaf6df516a813b362a7c26d5f67dcaf (patch)
tree7f2e5b6e0bc970ef43f44f7d4000695cafec8181 /rc.d
parentabd75be1e982ff40055179f66fec5df07ade479e (diff)
downloadinitscripts-8986e4b2efaf6df516a813b362a7c26d5f67dcaf.tar
initscripts-8986e4b2efaf6df516a813b362a7c26d5f67dcaf.tar.gz
initscripts-8986e4b2efaf6df516a813b362a7c26d5f67dcaf.tar.bz2
initscripts-8986e4b2efaf6df516a813b362a7c26d5f67dcaf.tar.xz
initscripts-8986e4b2efaf6df516a813b362a7c26d5f67dcaf.zip
early-login support
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/rc.sysinit4
1 files changed, 2 insertions, 2 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 266cac2d..ec78d5a5 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -220,7 +220,7 @@ echo
RHGB_STARTED=0
mount -n /dev/pts
-if strstr "$cmdline" rhgb && [ "$BOOTUP" = "color" -a "$GRAPHICAL" = "yes" -a -x /usr/bin/rhgb ]; then
+if strstr "$cmdline" rhgb && ! strstr "$cmdline" early-login && [ "$BOOTUP" = "color" -a "$GRAPHICAL" = "yes" -a -x /usr/bin/rhgb ]; then
LC_MESSAGES= /usr/bin/rhgb
RHGB_STARTED=1
fi
@@ -496,7 +496,7 @@ if [ -f /etc/rc.modules ]; then
fi
# Start the graphical boot, if necessary and not done yet.
-if strstr "$cmdline" rhgb && [ "$RHGB_STARTED" -eq 0 -a "$BOOTUP" = "color" -a "$GRAPHICAL" = "yes" -a -x /usr/bin/rhgb ]; then
+if strstr "$cmdline" rhgb && ! strstr "$cmdline" early-login && [ "$RHGB_STARTED" -eq 0 -a "$BOOTUP" = "color" -a "$GRAPHICAL" = "yes" -a -x /usr/bin/rhgb ]; then
LC_MESSAGES= /usr/bin/rhgb
RHGB_STARTED=1
fi