aboutsummaryrefslogtreecommitdiffstats
path: root/prefdm
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2006-01-20 22:00:04 +0000
committerBill Nottingham <notting@redhat.com>2006-01-20 22:00:04 +0000
commit359814426ecf73211221d87a9a1ecafff10545c9 (patch)
tree3c27c86fb12eda447135ab6cd5fb1ea700a581e4 /prefdm
parentcbf94e7107655151dc138e3e22e05afe3234d959 (diff)
downloadinitscripts-359814426ecf73211221d87a9a1ecafff10545c9.tar
initscripts-359814426ecf73211221d87a9a1ecafff10545c9.tar.gz
initscripts-359814426ecf73211221d87a9a1ecafff10545c9.tar.bz2
initscripts-359814426ecf73211221d87a9a1ecafff10545c9.tar.xz
initscripts-359814426ecf73211221d87a9a1ecafff10545c9.zip
get rid of some path lookups (#178321, <mclasen@redhat.com>)
Diffstat (limited to 'prefdm')
-rwxr-xr-xprefdm6
1 files changed, 3 insertions, 3 deletions
diff --git a/prefdm b/prefdm
index 2b5584ed..e62ff0bd 100755
--- a/prefdm
+++ b/prefdm
@@ -15,11 +15,11 @@ preferred=
if [ -f /etc/sysconfig/desktop ]; then
. /etc/sysconfig/desktop
if [ "$DISPLAYMANAGER" = GNOME ]; then
- preferred=gdm
+ preferred=/usr/sbin/gdm
elif [ "$DISPLAYMANAGER" = KDE ]; then
- preferred=kdm
+ preferred=/usr/bin/kdm
elif [ "$DISPLAYMANAGER" = XDM ]; then
- preferred=xdm
+ preferred=/usr/bin/xdm
elif [ -n "$DISPLAYMANAGER" ]; then
preferred=$DISPLAYMANAGER
fi