From c1aa64a98956158e3d63b6e3d7ff6d07b397890b Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 22 Aug 2000 14:38:48 +0000 Subject: if isn't there, just run whatever display manager happens to be installed --- initscripts.spec | 3 +++ prefdm | 9 ++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/initscripts.spec b/initscripts.spec index bff8722d..3945bc47 100644 --- a/initscripts.spec +++ b/initscripts.spec @@ -235,6 +235,9 @@ rm -rf $RPM_BUILD_ROOT * Tue Aug 22 2000 Than Ngo - add KDE2 support to prefdm +* Mon Aug 21 2000 Bill Nottingham +- add usleep after kill -KILL in pidofproc, works around lockd issues (#14847) + * Fri Aug 18 2000 Bill Nottingham - don't load usb drivers if they're compiled statically - don't call ifdown-post twice for ppp (#15285) diff --git a/prefdm b/prefdm index 9654ea0f..fba4858c 100755 --- a/prefdm +++ b/prefdm @@ -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 -- cgit