aboutsummaryrefslogtreecommitdiffstats
path: root/prefdm
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2008-06-19 11:14:17 -0400
committerBill Nottingham <notting@redhat.com>2008-06-19 11:14:17 -0400
commit5a34a28455350aedcbf47d255baf80fde39c79b5 (patch)
treea31a354b1d98b4d1f42ef0f65575873a763ce2b0 /prefdm
parent2b28cd1ba79cfaf0d9dca0c060a0f5be7a0b72b9 (diff)
downloadinitscripts-5a34a28455350aedcbf47d255baf80fde39c79b5.tar
initscripts-5a34a28455350aedcbf47d255baf80fde39c79b5.tar.gz
initscripts-5a34a28455350aedcbf47d255baf80fde39c79b5.tar.bz2
initscripts-5a34a28455350aedcbf47d255baf80fde39c79b5.tar.xz
initscripts-5a34a28455350aedcbf47d255baf80fde39c79b5.zip
Revert "Remove rhgb support."
Diffstat (limited to 'prefdm')
-rwxr-xr-xprefdm5
1 files changed, 5 insertions, 0 deletions
diff --git a/prefdm b/prefdm
index d014f747..3baa6933 100755
--- a/prefdm
+++ b/prefdm
@@ -2,6 +2,11 @@
PATH=/sbin:/usr/sbin:/bin:/usr/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/sysconfig/i18n ] && . /etc/sysconfig/i18n