aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2003-05-21 15:39:10 +0000
committerBill Nottingham <notting@redhat.com>2003-05-21 15:39:10 +0000
commitadff4904957c0b6ba0c9ae2d86a99e25e5d7fa55 (patch)
treea6f31ecf2a4439702536dcb8c52a34d7f18d4090 /rc.d
parentf4042c4dfa6a1f7f04da2cf293e2ae8f3f687587 (diff)
downloadinitscripts-adff4904957c0b6ba0c9ae2d86a99e25e5d7fa55.tar
initscripts-adff4904957c0b6ba0c9ae2d86a99e25e5d7fa55.tar.gz
initscripts-adff4904957c0b6ba0c9ae2d86a99e25e5d7fa55.tar.bz2
initscripts-adff4904957c0b6ba0c9ae2d86a99e25e5d7fa55.tar.xz
initscripts-adff4904957c0b6ba0c9ae2d86a99e25e5d7fa55.zip
check for rhgb's existence before starting it
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/rc.sysinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 54694896..d07a2bb0 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -24,7 +24,7 @@ fi
. /etc/init.d/functions
# Start the graphical boot, if necessary
-if [ "$BOOTUP" = "color" -a "$GRAPHICAL" = "yes" ]; then
+if [ "$BOOTUP" = "color" -a "$GRAPHICAL" = "yes" -a -x /usr/bin/rhgb ]; then
/usr/bin/rhgb
fi