aboutsummaryrefslogtreecommitdiffstats
path: root/prefdm
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2005-04-15 17:48:44 +0000
committerBill Nottingham <notting@redhat.com>2005-04-15 17:48:44 +0000
commit53a41d67f7b574a71e3f012f5413cc2aa398d3b7 (patch)
tree4b79867df7d4aadbefc5012e90cd446ddfd1117d /prefdm
parent8986e4b2efaf6df516a813b362a7c26d5f67dcaf (diff)
downloadinitscripts-53a41d67f7b574a71e3f012f5413cc2aa398d3b7.tar
initscripts-53a41d67f7b574a71e3f012f5413cc2aa398d3b7.tar.gz
initscripts-53a41d67f7b574a71e3f012f5413cc2aa398d3b7.tar.bz2
initscripts-53a41d67f7b574a71e3f012f5413cc2aa398d3b7.tar.xz
initscripts-53a41d67f7b574a71e3f012f5413cc2aa398d3b7.zip
if something else is specified as $DISPLAYMANAGER, try that (#147304)
Diffstat (limited to 'prefdm')
-rwxr-xr-xprefdm2
1 files changed, 2 insertions, 0 deletions
diff --git a/prefdm b/prefdm
index 490e8462..2b5584ed 100755
--- a/prefdm
+++ b/prefdm
@@ -20,6 +20,8 @@ if [ -f /etc/sysconfig/desktop ]; then
preferred=kdm
elif [ "$DISPLAYMANAGER" = XDM ]; then
preferred=xdm
+ elif [ -n "$DISPLAYMANAGER" ]; then
+ preferred=$DISPLAYMANAGER
fi
fi