diff options
-rwxr-xr-x | prefdm | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -35,6 +35,10 @@ shopt -s execfail [ -n "$preferred" ] && exec $preferred "$@" >/dev/null 2>&1 </dev/null +# Fallbacks, in order +exec gdm "$@" >/dev/null 2>&1 </dev/null +exec kdm "$@" >/dev/null 2>&1 </dev/null + for pkg in $(rpm -q --qf "%{NAME}\n" --whatprovides "service(graphical-login)"| LC_ALL=C sort -u) ; do dm=$(rpm -q --provides $pkg | awk '/^service\(graphical-login\)/ { print $3 ; exit }') if [ -n "$dm" ]; then |