From: Luk Claes Date: Tue, 7 Jun 2011 10:00:28 +0000 (+0200) Subject: Use rpcbind's rpcinfo so IPv6 ones are also shown X-Git-Tag: debian/1%1.2.4-1~15 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=d6101fd242f57fe949c8cb69b586bf80cefed62e;p=nfs-utils.git Use rpcbind's rpcinfo so IPv6 ones are also shown Signed-off-by: Luk Claes --- diff --git a/debian/nfs-common.init b/debian/nfs-common.init index e5c2a02..9027410 100644 --- a/debian/nfs-common.init +++ b/debian/nfs-common.init @@ -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 diff --git a/debian/nfs-kernel-server.bugscript b/debian/nfs-kernel-server.bugscript index 8f91a3f..eed581d 100644 --- a/debian/nfs-kernel-server.bugscript +++ b/debian/nfs-kernel-server.bugscript @@ -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 diff --git a/debian/nfs-kernel-server.init b/debian/nfs-kernel-server.init index 631e74e..007b0df 100644 --- a/debian/nfs-kernel-server.init +++ b/debian/nfs-kernel-server.init @@ -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