diff options
Diffstat (limited to 'prefdm')
-rwxr-xr-x | prefdm | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -6,31 +6,31 @@ PATH=/sbin:/usr/sbin:/bin:/usr/bin [ -f /etc/sysconfig/i18n ] && . /etc/sysconfig/i18n # Run preferred X display manager -quit_arg= preferred= +splash_quit_command="" if [ -f /etc/sysconfig/desktop ]; then . /etc/sysconfig/desktop if [ "$DISPLAYMANAGER" = GNOME ]; then preferred=/usr/sbin/gdm - quit_arg="--retain-splash" elif [ "$DISPLAYMANAGER" = KDE ]; then preferred=/usr/bin/kdm - quit_arg="--retain-splash" + + # KDM supports "old-style" transition + splash_quit_command="plymouth quit --retain-splash" elif [ "$DISPLAYMANAGER" = WDM ]; then preferred=/usr/bin/wdm + splash_quit_command="plymouth quit" elif [ "$DISPLAYMANAGER" = XDM ]; then preferred=/usr/bin/xdm + splash_quit_command="plymouth quit" elif [ -n "$DISPLAYMANAGER" ]; then preferred=$DISPLAYMANAGER - else - quit_arg="--retain-splash" + splash_quit_command="plymouth quit" fi -else - quit_arg="--retain-splash" fi # shut down boot splash -/usr/bin/plymouth quit $quit_arg +$splash_quit_command shopt -s execfail |