From adff4904957c0b6ba0c9ae2d86a99e25e5d7fa55 Mon Sep 17 00:00:00 2001
From: Bill Nottingham <notting@redhat.com>
Date: Wed, 21 May 2003 15:39:10 +0000
Subject: check for rhgb's existence before starting it

---
 rc.d/rc.sysinit | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'rc.d/rc.sysinit')

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
 
-- 
cgit v1.2.1