aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>1999-08-13 19:30:55 +0000
committerBill Nottingham <notting@redhat.com>1999-08-13 19:30:55 +0000
commitccdc62ef54d8f2a70b0400daffddd5cf9526e5dc (patch)
tree0555e3e2a1fd52dfe88e92488ed1fa4967ad11bd /rc.d
parentb0b6034beb048519e34bb623100cc194c99358ba (diff)
downloadinitscripts-ccdc62ef54d8f2a70b0400daffddd5cf9526e5dc.tar
initscripts-ccdc62ef54d8f2a70b0400daffddd5cf9526e5dc.tar.gz
initscripts-ccdc62ef54d8f2a70b0400daffddd5cf9526e5dc.tar.bz2
initscripts-ccdc62ef54d8f2a70b0400daffddd5cf9526e5dc.tar.xz
initscripts-ccdc62ef54d8f2a70b0400daffddd5cf9526e5dc.zip
remove stuff for setting preferred link
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/rc.sysinit25
1 files changed, 0 insertions, 25 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 85ea38cd..e48902d6 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -420,31 +420,6 @@ if [ -f /proc/scsi/scsi ] && cat /proc/scsi/scsi | grep -q 'Type: Sequential-A
fi
fi
-# Set preferred X display manager link
-preferred=
-if [ -f /etc/sysconfig/desktop ]; then
- if [ -n "`grep GNOME /etc/sysconfig/desktop`" ]; then
- preferred=gdm
- elif [ -n "`grep KDE /etc/sysconfig/desktop`" ]; then
- preferred=kdm
- elif [ -n "`grep AnotherLevel /etc/sysconfig/desktop`" ]; then
- preferred=xdm
- fi
-fi
-if [ -n "$preferred" ] && which $preferred >/dev/null 2>&1; then
- ln -snf `which $preferred` /etc/X11/prefdm
-else
- if [ ! -L /etc/X11/prefdm ]; then
- if which gdm >/dev/null 2>&1; then
- ln -snf `which gdm` /etc/X11/prefdm
- elif which kdm >/dev/null 2>&1; then
- ln -snf `which kdm` /etc/X11/prefdm
- elif which xdm >/dev/null 2>&1; then
- ln -snf `which xdm` /etc/X11/prefdm
- fi
- fi
-fi
-
# Now that we have all of our basic modules loaded and the kernel going,
# let's dump the syslog ring somewhere so we can find it later
dmesg > /var/log/dmesg