aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2009-03-24 17:03:13 -0400
committerBill Nottingham <notting@redhat.com>2009-03-24 17:03:13 -0400
commitaa7c79c8dae43b1ecdb7f534e72cfc7b427e28d5 (patch)
tree71400e20f1e8d2450a27e74c9650a4848e81288d
parentb89c425ec2ea70612d212f3a98b903580d564b67 (diff)
downloadinitscripts-aa7c79c8dae43b1ecdb7f534e72cfc7b427e28d5.tar
initscripts-aa7c79c8dae43b1ecdb7f534e72cfc7b427e28d5.tar.gz
initscripts-aa7c79c8dae43b1ecdb7f534e72cfc7b427e28d5.tar.bz2
initscripts-aa7c79c8dae43b1ecdb7f534e72cfc7b427e28d5.tar.xz
initscripts-aa7c79c8dae43b1ecdb7f534e72cfc7b427e28d5.zip
Add back the fallbacks for F10, for compatibility.
-rwxr-xr-xprefdm6
1 files changed, 6 insertions, 0 deletions
diff --git a/prefdm b/prefdm
index 10b679d5..594bd343 100755
--- a/prefdm
+++ b/prefdm
@@ -44,5 +44,11 @@ for pkg in $(rpm -q --qf "%{NAME}\n" --whatprovides "service(graphical-login)")
fi
done
+# 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