diff options
author | Bill Nottingham <notting@redhat.com> | 2007-10-08 19:38:25 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2007-10-08 19:38:25 +0000 |
commit | 42a9bd163f092485eb32aada19d2edfa44833605 (patch) | |
tree | e9bf112a2f4595cf11fafca8de6628314244b29a | |
parent | 5941b5483e6d86d8aee8fa9749c30e69003ed908 (diff) | |
download | initscripts-42a9bd163f092485eb32aada19d2edfa44833605.tar initscripts-42a9bd163f092485eb32aada19d2edfa44833605.tar.gz initscripts-42a9bd163f092485eb32aada19d2edfa44833605.tar.bz2 initscripts-42a9bd163f092485eb32aada19d2edfa44833605.tar.xz initscripts-42a9bd163f092485eb32aada19d2edfa44833605.zip |
add wdm section (#248087)
-rwxr-xr-x | prefdm | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -18,6 +18,8 @@ if [ -f /etc/sysconfig/desktop ]; then preferred=/usr/sbin/gdm elif [ "$DISPLAYMANAGER" = KDE ]; then preferred=/usr/bin/kdm + elif [ "$DISPLAYMANAGER" = WDM ]; then + preferred=/usr/bin/wdm elif [ "$DISPLAYMANAGER" = XDM ]; then preferred=/usr/bin/xdm elif [ -n "$DISPLAYMANAGER" ]; then @@ -32,7 +34,7 @@ shopt -s execfail # Fallbacks, in order exec gdm "$@" >/dev/null 2>&1 </dev/null exec kdm "$@" >/dev/null 2>&1 </dev/null +exec wdm "$@" >/dev/null 2>&1 </dev/null exec xdm "$@" >/dev/null 2>&1 </dev/null - # catch all exit error exit 1 |