From 4a689b58aa9d5b7c3d20ccd02af6841226626aba Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 22 May 2003 16:08:31 +0000 Subject: add a 'nogui' --- 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 d07a2bb0..080d6246 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" -a -x /usr/bin/rhgb ]; then +if ! fgrep -q nogui /proc/cmdline && [ "$BOOTUP" = "color" -a "$GRAPHICAL" = "yes" -a -x /usr/bin/rhgb ]; then /usr/bin/rhgb fi -- cgit v1.2.1