aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2000-08-22 14:38:48 +0000
committerBill Nottingham <notting@redhat.com>2000-08-22 14:38:48 +0000
commitc1aa64a98956158e3d63b6e3d7ff6d07b397890b (patch)
treeac996e2b5a0a1be60c344738e04e35e5bd911402
parente95ca24cd9d5a035c71e57317179be2988843235 (diff)
downloadinitscripts-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
-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