From d6101fd242f57fe949c8cb69b586bf80cefed62e Mon Sep 17 00:00:00 2001 From: Luk Claes Date: Tue, 7 Jun 2011 12:00:28 +0200 Subject: [PATCH] Use rpcbind's rpcinfo so IPv6 ones are also shown Signed-off-by: Luk Claes --- debian/nfs-common.init | 2 +- debian/nfs-kernel-server.bugscript | 2 +- debian/nfs-kernel-server.init | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 -- 2.39.5