summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--initscripts.spec3
-rwxr-xr-xprefdm9
2 files changed, 11 insertions, 1 deletions
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 <than@redhat.de>
- add KDE2 support to prefdm
+* Mon Aug 21 2000 Bill Nottingham <notting@redhat.com>
+- add usleep after kill -KILL in pidofproc, works around lockd issues (#14847)
+
* Fri Aug 18 2000 Bill Nottingham <notting@redhat.com>
- 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