Package: hdapsd Version: 1:20090401-2 Severity: wishlist Tags: patch
Here is a patch to add support for the "status" action to the init.d script of hdapsd.
--- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +hdapsd (1:20090401-2.1) UNRELEASED; urgency=low + + * debian/init: + - Add support for "status" action + + -- Peter Eisentraut <pet...@debian.org> Tue, 27 Dec 2011 21:20:34 +0200 + hdapsd (1:20090401-2) unstable; urgency=low * debian/control: --- a/debian/init +++ b/debian/init @@ -130,6 +130,9 @@ 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;; esac ;; + status) + status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $? + ;; pause) [ "$VERBOSE" != no ] && log_daemon_msg "Pauseing (8sec) $DESC" "$NAME" do_pause @@ -157,7 +160,7 @@ esac ;; *) - echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload|pause}" >&2 + echo "Usage: $SCRIPTNAME {start|stop|status|restart|force-reload|pause}" >&2 exit 3 ;; esac