X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=debian%2Fnfs-common.init;h=92ea10d8b8eee1657616ceee39c1fde11892234c;hb=c315741380515fe31cbf34960208420efe443069;hp=d69eb34a9f3c410e5f6154f9936172a8d714319f;hpb=1f2e2f02c4bb8a2cb3afa09a6be57d65784ae019;p=nfs-utils.git diff --git a/debian/nfs-common.init b/debian/nfs-common.init index d69eb34..92ea10d 100644 --- a/debian/nfs-common.init +++ b/debian/nfs-common.init @@ -138,7 +138,7 @@ case "$1" in log_progress_msg "statd" # See if portmap or rpcbind are running - lsof -i :111 >/dev/null + cat /dev/tcp/localhost/111 RET=$? if [ $RET != 0 ]; then echo