]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
Use rpcbind's rpcinfo so IPv6 ones are also shown
authorLuk Claes <luk@debian.org>
Tue, 7 Jun 2011 10:00:28 +0000 (12:00 +0200)
committerLuk Claes <luk@debian.org>
Tue, 7 Jun 2011 10:00:28 +0000 (12:00 +0200)
Signed-off-by: Luk Claes <luk@debian.org>
debian/nfs-common.init
debian/nfs-kernel-server.bugscript
debian/nfs-kernel-server.init

index e5c2a0243b8d915f2e95a4e2ac2cec1c91fcf823..902741014447dc3db7b190c7eb7ffb43e42c6f4b 100644 (file)
@@ -139,7 +139,7 @@ case "$1" in
            log_progress_msg "statd"
            
            # See if rpcbind is running
-           rpcinfo -p >/dev/null 2>&1
+           /usr/sbin/rpcinfo -p >/dev/null 2>&1
            RET=$?
            if [ $RET != 0 ]; then
                echo
index 8f91a3f0db77e1493e479b89113843ecbef3dc77..eed581de7c14299ce3817d80758b2e29848d8e70 100644 (file)
@@ -2,7 +2,7 @@
 set -e
 
 echo '-- rpcinfo --' >&3
-rpcinfo -p >&3
+/usr/sbin/rpcinfo -p >&3
 
 echo '-- /etc/default/nfs-kernel-server --' >&3
 cat /etc/default/nfs-kernel-server|grep -v -e '\#' -e '^$' >&3
index 631e74edd56efb82a8513982d8f0b49752d9d589..007b0df90333b4df0615638e33809c9cae03dcb7 100644 (file)
@@ -84,7 +84,7 @@ case "$1" in
                log_progress_msg "nfsd"
                
                # See if rpcbind is running
-               rpcinfo -p >/dev/null 2>&1
+               /usr/sbin/rpcinfo -p >/dev/null 2>&1
                RET=$?
                if [ $RET != 0 ]; then
                    echo