aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>1999-05-25 21:04:58 +0000
committerBill Nottingham <notting@redhat.com>1999-05-25 21:04:58 +0000
commitc013654844389a7705707b9e74e2c620d191c3d1 (patch)
tree29ac73a5fbc1b5b36d6bd986684c88df5ff3cbbc /rc.d/rc.sysinit
parentf9bc0e040589861d0a7cc91dc88cf836701462dd (diff)
downloadinitscripts-c013654844389a7705707b9e74e2c620d191c3d1.tar
initscripts-c013654844389a7705707b9e74e2c620d191c3d1.tar.gz
initscripts-c013654844389a7705707b9e74e2c620d191c3d1.tar.bz2
initscripts-c013654844389a7705707b9e74e2c620d191c3d1.tar.xz
initscripts-c013654844389a7705707b9e74e2c620d191c3d1.zip
don't make relative links to display manager
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-xrc.d/rc.sysinit8
1 files changed, 4 insertions, 4 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index f0a2b31c..75d92f97 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -382,15 +382,15 @@ if [ -f /etc/sysconfig/desktop ]; then
fi
fi
if [ -n "$preferred" ] && which $preferred >/dev/null 2>&1; then
- ln -snf ../..`which $preferred` /etc/X11/prefdm
+ 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
+ ln -snf `which gdm` /etc/X11/prefdm
elif which kdm >/dev/null 2>&1; then
- ln -snf ../..`which kdm` /etc/X11/prefdm
+ ln -snf `which kdm` /etc/X11/prefdm
elif which xdm >/dev/null 2>&1; then
- ln -snf ../..`which xdm` /etc/X11/prefdm
+ ln -snf `which xdm` /etc/X11/prefdm
fi
fi
fi