aboutsummaryrefslogtreecommitdiffstats
path: root/prefdm
diff options
context:
space:
mode:
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