From 323b0fc34f98c5e666bdb8976eeaac795a14f07d Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Wed, 8 Aug 2012 17:11:31 -0400 Subject: Drop prefdm. --- prefdm | 52 ---------------------------------------------------- 1 file changed, 52 deletions(-) delete mode 100755 prefdm (limited to 'prefdm') diff --git a/prefdm b/prefdm deleted file mode 100755 index 4ee44fc5..00000000 --- a/prefdm +++ /dev/null @@ -1,52 +0,0 @@ -#!/bin/sh - -PATH=/sbin:/usr/sbin:/bin:/usr/bin - -# We need to source this so that the login screens get translated -[ -f /etc/sysconfig/i18n ] && . /etc/sysconfig/i18n -[ -f /etc/locale.conf ] && . /etc/locale.conf - -# Run preferred X display manager -preferred= -splash_quit_command="" -if [ -f /etc/sysconfig/desktop ]; then - . /etc/sysconfig/desktop - if [ "$DISPLAYMANAGER" = GNOME ]; then - preferred=/usr/sbin/gdm - elif [ "$DISPLAYMANAGER" = KDE ]; then - preferred=/usr/bin/kdm - 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 - splash_quit_command="plymouth quit" - fi -fi - -# shut down boot splash -$splash_quit_command - -shopt -s execfail - -[ -n "$preferred" ] && exec $preferred "$@" >/dev/null 2>&1 /dev/null 2>&1 /dev/null 2>&1 /dev/null 2>&1 /dev/null 2>&1