-#!/bin/sh
+#!/bin/bash
### BEGIN INIT INFO
# Provides: nfs-kernel-server
log_progress_msg "nfsd"
# See if portmap or rpcbind are running
- cat </dev/null >/dev/tcp/localhost/111
+ (cat </dev/null >/dev/tcp/localhost/111) 2>/dev/null
RET=$?
if [ $RET != 0 ]; then
echo