Package: unattended-upgrades Version: 0.72.3 Severity: wishlist Tags: patch
Here is a patch to add the "status" action to the init script. Even though it's trivial, please consider including it so we can uniformly support the "status" action across all packages.
diff -Nru unattended-upgrades-0.72.3/debian/changelog unattended-upgrades-0.72.3+nmu1/debian/changelog --- unattended-upgrades-0.72.3/debian/changelog 2011-06-16 10:13:49.000000000 +0300 +++ unattended-upgrades-0.72.3+nmu1/debian/changelog 2011-09-20 06:27:24.000000000 +0300 @@ -1,3 +1,10 @@ +unattended-upgrades (0.72.3+nmu1) unstable; urgency=low + + * debian/unattended-upgrade.init: + - add support for "status" action + + -- Peter Eisentraut <pet...@debian.org> Tue, 20 Sep 2011 06:26:29 +0300 + unattended-upgrades (0.72.3) unstable; urgency=low * debian/rules: diff -Nru unattended-upgrades-0.72.3/debian/unattended-upgrades.init unattended-upgrades-0.72.3+nmu1/debian/unattended-upgrades.init --- unattended-upgrades-0.72.3/debian/unattended-upgrades.init 2011-03-04 14:15:27.000000000 +0200 +++ unattended-upgrades-0.72.3+nmu1/debian/unattended-upgrades.init 2011-09-20 06:26:24.000000000 +0300 @@ -26,9 +26,12 @@ restart|force-reload) # nothing ;; + status) + exit 0 + ;; *) N=/etc/init.d/$NAME - echo "Usage: $N {start|stop|restart|force-reload}" >&2 + echo "Usage: $N {start|stop|restart|force-reload|status}" >&2 exit 1 ;; esac