Package: nullmailer Version: 1.04-1.1 Severity: wishlist Tags: patch
Here is a patch to support the "status" action in the init.d script.
diff -u nullmailer-1.04/debian/init nullmailer-1.04/debian/init --- nullmailer-1.04/debian/init +++ nullmailer-1.04/debian/init @@ -42,9 +42,13 @@ sleep 1 $0 start ;; + status) + status_of_proc $DAEMON $NAME + exit $? + ;; *) N=/etc/init.d/$NAME - echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2 + echo "Usage: $N {start|stop|restart|reload|force-reload|status}" >&2 exit 1 ;; esac diff -u nullmailer-1.04/debian/control nullmailer-1.04/debian/control --- nullmailer-1.04/debian/control +++ nullmailer-1.04/debian/control @@ -8,7 +8,7 @@ Package: nullmailer Architecture: any -Depends: ${shlibs:Depends}, debconf (>= 0.5) | debconf-2.0, lsb-base +Depends: ${shlibs:Depends}, debconf (>= 0.5) | debconf-2.0, lsb-base (>= 3.2-13) Recommends: sysklogd | system-log-daemon Conflicts: mail-transport-agent, suidmanager (<< 0.52), lsb Provides: mail-transport-agent