summaryrefslogtreecommitdiffstats
path: root/prefdm
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2002-12-17 17:45:38 +0000
committerBill Nottingham <notting@redhat.com>2002-12-17 17:45:38 +0000
commit5ea20a309fb11e31a8077e2bcf307291f7410f36 (patch)
tree7666955e79b862be524543ca6d107132bdc390d6 /prefdm
parente6a4cb14e744f6f0170d1339974d7d581ee4351f (diff)
downloadinitscripts-5ea20a309fb11e31a8077e2bcf307291f7410f36.tar.gz
initscripts-5ea20a309fb11e31a8077e2bcf307291f7410f36.tar.xz
initscripts-5ea20a309fb11e31a8077e2bcf307291f7410f36.zip
more rhgb tweaks
have a loop for checking link state instead of a static 'sleep 5'
Diffstat (limited to 'prefdm')
-rwxr-xr-xprefdm6
1 files changed, 6 insertions, 0 deletions
diff --git a/prefdm b/prefdm
index 5ff5fd5c..fb55abec 100755
--- a/prefdm
+++ b/prefdm
@@ -2,6 +2,12 @@
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
+
+# shut down any graphical boot that might exist
+if [ -x /usr/bin/rhgb-client ]; then
+ /usr/bin/rhgb-client -quit
+fi
+
# We need to source this so that the login screens get translated
[ -f /etc/profile.d/lang.sh ] && . /etc/profile.d/lang.sh