Package: backuppc Version: 3.2.1-2 Severity: wishlist Tags: patch
Here is a patch to add support for the "status" action to the init.d script of backuppc.
diff -u backuppc-3.2.1/debian/backuppc.init backuppc-3.2.1/debian/backuppc.init --- backuppc-3.2.1/debian/backuppc.init +++ backuppc-3.2.1/debian/backuppc.init @@ -81,8 +81,11 @@ --signal 1 log_end_msg $? ;; + status) + status_of_proc "$BINDIR/$DAEMON" "$NAME" && exit 0 || exit $? + ;; *) - log_success_msg "Usage: /etc/init.d/$NAME {start|stop|restart|reload}" + log_success_msg "Usage: /etc/init.d/$NAME {start|stop|restart|reload|status}" exit 1 ;; esac diff -u backuppc-3.2.1/debian/changelog backuppc-3.2.1/debian/changelog --- backuppc-3.2.1/debian/changelog +++ backuppc-3.2.1/debian/changelog @@ -1,3 +1,9 @@ +backuppc (3.2.1-2.1) UNRELEASED; urgency=low + + * Added support for "status" action to init script + + -- Peter Eisentraut <pet...@debian.org> Fri, 09 Dec 2011 19:09:06 +0200 + backuppc (3.2.1-2) unstable; urgency=high * Really fix CVE-2011-3361. Closes: #646865