]> git.michaelhowe.org Git - packages/a/afs-monitor.git/commitdiff
Also look for /usr/sbin/rxdebug and /usr/local/sbin/rxdebug
authorRuss Allbery <rra@stanford.edu>
Thu, 21 Oct 2010 16:22:39 +0000 (09:22 -0700)
committerRuss Allbery <rra@stanford.edu>
Thu, 21 Oct 2010 20:23:56 +0000 (13:23 -0700)
Upstream Makefiles install into sbin by default.

NEWS
check_rxdebug

diff --git a/NEWS b/NEWS
index b2e9d7ba3f603ead2824853bc03fca5bbee767ce..6ea5d4d1509985987ddebca7d324299071be2b02 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -29,3 +29,6 @@ afs-monitor 2.0 (unreleased)
 
     If check_bos is successful, report the number of instances running
     normally.  Patch from Steve Rader.
+
+    Look for rxdebug in /usr/sbin and /usr/local/sbin since OpenAFS
+    installs it into sbindir by default.
index 4e497fd0ee4f3c2fc39a0cff50a1fa9a35a8ad59..86d388e2389ed1fcb2bb79df6ff6a67f17f0119d 100755 (executable)
@@ -41,7 +41,9 @@ our $TIMEOUT = 60;
 
 # The full path to rxdebug.  Make sure that this is on local disk so that
 # monitoring doesn't have an AFS dependency.
-our ($RXDEBUG) = grep { -x $_ } qw(/usr/bin/rxdebug /usr/local/bin/rxdebug);
+our ($RXDEBUG) = grep { -x $_ }
+    qw(/usr/bin/rxdebug /usr/sbin/rxdebug /usr/local/bin/rxdebug
+       /usr/local/sbin/rxdebug);
 $RXDEBUG ||= '/usr/bin/rxdebug';
 
 ##############################################################################