diff options
author | Bill Nottingham <notting@redhat.com> | 2000-08-22 14:38:48 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2000-08-22 14:38:48 +0000 |
commit | c1aa64a98956158e3d63b6e3d7ff6d07b397890b (patch) | |
tree | ac996e2b5a0a1be60c344738e04e35e5bd911402 /prefdm | |
parent | e95ca24cd9d5a035c71e57317179be2988843235 (diff) | |
download | initscripts-c1aa64a98956158e3d63b6e3d7ff6d07b397890b.tar initscripts-c1aa64a98956158e3d63b6e3d7ff6d07b397890b.tar.gz initscripts-c1aa64a98956158e3d63b6e3d7ff6d07b397890b.tar.bz2 initscripts-c1aa64a98956158e3d63b6e3d7ff6d07b397890b.tar.xz initscripts-c1aa64a98956158e3d63b6e3d7ff6d07b397890b.zip |
if isn't there, just run whatever display manager happens to be installed
Diffstat (limited to 'prefdm')
-rwxr-xr-x | prefdm | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -41,4 +41,11 @@ fi if [ -n "$preferred" ] && which $preferred >/dev/null 2>&1; then exec `which $preferred` $* fi -exit 1 +if which gdm >/dev/null 2>&1; then + exec `which gdm` $* +elif which kdm >/dev/null 2>&1; then + exec `which kdm` $* +elif which xdm >/dev/null 2>&1; then + exec `which xdm` $* +fi +fexit 1 |