+ log_end_msg 0
+ ;;
+
+ status)
+ if ! pidof rpc.statd >/dev/null
+ then
+ echo "rpc.statd not running"
+ exit 3
+ fi
+
+ if [ "$NEED_GSSD" = yes ]
+ then
+ if ! pidof rpc.gssd >/dev/null
+ then
+ echo "rpc.statd running, but rpc.gssd halted"
+ exit 3
+ fi
+ fi
+
+ if [ "$NEED_LOCKD" = yes ]
+ then
+ if ! pidof rpc.lockd >/dev/null
+ then
+ echo "rpc.statd running, but rpc.lockd halted"
+ exit 3
+ fi
+ fi
+
+ if [ "$NEED_IDMAPD" = yes ]
+ then
+ if ! pidof rpc.idmapd >/dev/null
+ then
+ echo "rpc.statd running, but rpc.idmapd halted"
+ exit 3
+ fi
+ fi
+
+ echo "rpc.statd running"
+ exit 0