Package: sudo Version: 1.8.2-1 Severity: wishlist Tags: patch
Here is a patch that adds support for the "status" action to the init script. Even though this is a trivial case, it'd be nice to add it so all init scripts can react uniformly to this action.
diff -Nru sudo-1.8.2/debian/changelog sudo-1.8.2/debian/changelog --- sudo-1.8.2/debian/changelog 2011-08-24 23:16:15.000000000 +0300 +++ sudo-1.8.2/debian/changelog 2011-09-16 06:40:57.000000000 +0300 @@ -1,3 +1,9 @@ +sudo (1.8.2-1.1) unstable; urgency=low + + * add init.d status support + + -- Peter Eisentraut <pet...@debian.org> Fri, 16 Sep 2011 06:40:43 +0300 + sudo (1.8.2-1) unstable; urgency=low * new upstream version, closes: #637449, #621830 diff -Nru sudo-1.8.2/debian/sudo.sudo.init sudo-1.8.2/debian/sudo.sudo.init --- sudo-1.8.2/debian/sudo.sudo.init 2011-08-24 23:16:15.000000000 +0300 +++ sudo-1.8.2/debian/sudo.sudo.init 2011-09-16 06:40:40.000000000 +0300 @@ -23,10 +23,10 @@ find /var/lib/sudo -exec touch -t 198501010000 '{}' \; fi ;; - stop|reload|restart|force-reload) + stop|reload|restart|force-reload|status) ;; *) - echo "Usage: $N {start|stop|restart|force-reload}" >&2 + echo "Usage: $N {start|stop|restart|force-reload|status}" >&2 exit 1 ;; esac