diff options
author | Bill Nottingham <notting@redhat.com> | 2003-05-22 16:08:31 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2003-05-22 16:08:31 +0000 |
commit | 4a689b58aa9d5b7c3d20ccd02af6841226626aba (patch) | |
tree | e931017b247944a0435290cb0c531401a2d2a228 | |
parent | f2a4ab655a971b9682c6af22fd84afb477a0e780 (diff) | |
download | initscripts-4a689b58aa9d5b7c3d20ccd02af6841226626aba.tar initscripts-4a689b58aa9d5b7c3d20ccd02af6841226626aba.tar.gz initscripts-4a689b58aa9d5b7c3d20ccd02af6841226626aba.tar.bz2 initscripts-4a689b58aa9d5b7c3d20ccd02af6841226626aba.tar.xz initscripts-4a689b58aa9d5b7c3d20ccd02af6841226626aba.zip |
add a 'nogui'
-rwxr-xr-x | rc.d/rc.sysinit | 2 |
1 files changed, 1 insertions, 1 deletions
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 |