diff options
author | Bill Nottingham <notting@redhat.com> | 2002-08-13 20:45:42 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2002-08-13 20:45:42 +0000 |
commit | 37ca82a58e629d9cde638603e9808fec4a1b19af (patch) | |
tree | 2d3b1a206f43731c5632f1e45e39b2b97ae26856 /prefdm | |
parent | 4edc473e3e708db975b4ef264d35cb4878d7cbfe (diff) | |
download | initscripts-37ca82a58e629d9cde638603e9808fec4a1b19af.tar initscripts-37ca82a58e629d9cde638603e9808fec4a1b19af.tar.gz initscripts-37ca82a58e629d9cde638603e9808fec4a1b19af.tar.bz2 initscripts-37ca82a58e629d9cde638603e9808fec4a1b19af.tar.xz initscripts-37ca82a58e629d9cde638603e9808fec4a1b19af.zip |
use GDM by default unless specified by DISPLAYMANAGER
Diffstat (limited to 'prefdm')
-rwxr-xr-x | prefdm | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -19,11 +19,12 @@ fi preferred= if [ -f /etc/sysconfig/desktop ]; then . /etc/sysconfig/desktop - [ -n "$DISPLAYMANAGER" ] && DESKTOP=$DISPLAYMANAGER - if [ "$DESKTOP" = GNOME ]; then + if [ "$DISPLAYMANAGER" = GNOME ]; then preferred=gdm - elif [ "$DESKTOP" = KDE -o "$DESKTOP" = KDE1 -o "$DESKTOP" = KDE2 ]; then + elif [ "$DISPLAYMANAGER" = KDE ]; then preferred=kdm + elif [ "$DISPLAYMANAGER" = XDM ]; then + preferred=xdm fi fi |