aboutsummaryrefslogtreecommitdiffstats
path: root/prefdm
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-01-29 21:55:44 +0000
committerBill Nottingham <notting@redhat.com>2001-01-29 21:55:44 +0000
commit68b78e481f1dc88625fd3ceed528924648c67bbe (patch)
tree9334ac17c371d73edc57b74616da88d845bfc396 /prefdm
parenta7bb261d527fb5280b91b73c730450defdfd0fb7 (diff)
downloadinitscripts-68b78e481f1dc88625fd3ceed528924648c67bbe.tar
initscripts-68b78e481f1dc88625fd3ceed528924648c67bbe.tar.gz
initscripts-68b78e481f1dc88625fd3ceed528924648c67bbe.tar.bz2
initscripts-68b78e481f1dc88625fd3ceed528924648c67bbe.tar.xz
initscripts-68b78e481f1dc88625fd3ceed528924648c67bbe.zip
allow choice of desktop/displaymanager (#23315)
Diffstat (limited to 'prefdm')
-rwxr-xr-xprefdm1
1 files changed, 1 insertions, 0 deletions
diff --git a/prefdm b/prefdm
index d6f2681f..bb5ff68b 100755
--- a/prefdm
+++ b/prefdm
@@ -19,6 +19,7 @@ fi
preferred=
if [ -f /etc/sysconfig/desktop ]; then
source /etc/sysconfig/desktop >/dev/null 2>&1
+ [ -n "$DISPLAYMANAGER" ] && DESKTOP=$DISPLAYMANAGER
if [ "$DESKTOP" = GNOME ]; then
preferred=gdm
elif [ "$DESKTOP" = KDE -o "$DESKTOP" = KDE1 ]; then