aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xprefdm10
1 files changed, 0 insertions, 10 deletions
diff --git a/prefdm b/prefdm
index fb55abec..3d21026d 100755
--- a/prefdm
+++ b/prefdm
@@ -12,16 +12,6 @@ fi
[ -f /etc/profile.d/lang.sh ] && . /etc/profile.d/lang.sh
# Run preferred X display manager
-
-# Try autologin first, if wanted...
-if [ -f /etc/sysconfig/autologin -a -x /usr/sbin/autologin ]; then
- if /usr/sbin/autologin; then
- exit 0
- fi
- # If autologin fails (bad permissions, etc.), we get here -
- # time to start a real display manager.
-fi
-
preferred=
if [ -f /etc/sysconfig/desktop ]; then
. /etc/sysconfig/desktop