Package: rwhod Version: 0.17-11 Severity: wishlist Tags: patch User: pet...@debian.org Usertags: initd-status-support
Here is a patch to support the "status" action in the init.d script. Note that your package is already missing a dependency on lsb-base.
diff -u netkit-rwho-0.17/debian/rwhod.init netkit-rwho-0.17/debian/rwhod.init --- netkit-rwho-0.17/debian/rwhod.init +++ netkit-rwho-0.17/debian/rwhod.init @@ -56,8 +56,11 @@ sleep 1 start_stop start ;; + status) + status_of_proc $DAEMON "rwhod" + ;; *) - log_success_msg "Usage: $0 {start|stop|restart|force-reload}\n" >&2 + log_success_msg "Usage: $0 {start|stop|restart|force-reload|status}\n" >&2 exit 1 ;; esac diff -u netkit-rwho-0.17/debian/control netkit-rwho-0.17/debian/control --- netkit-rwho-0.17/debian/control +++ netkit-rwho-0.17/debian/control @@ -7,7 +7,7 @@ Package: rwhod Architecture: any -Depends: adduser, passwd, ${shlibs:Depends} +Depends: adduser, lsb-base (>= 3.2-13), passwd, ${shlibs:Depends} Replaces: netstd Description: System status server Rwhod is the server which maintains the database used by the rwho(1)