Package: keyboard-configuration Version: 1.70 Severity: wishlist Tags: patch
Here is a patch to add support for the "status" action to the init.d scripts in the keyboard-configuration package. Even though it's trivial, please consider including it, so that all packages can support this action uniformly.
diff -Nru console-setup-1.75/CHANGES console-setup-1.75+nmu1/CHANGES --- console-setup-1.75/CHANGES 2011-12-05 07:06:02.000000000 +0200 +++ console-setup-1.75+nmu1/CHANGES 2011-12-08 20:18:54.000000000 +0200 @@ -1,3 +1,9 @@ +console-setup (1.75+nmu1) UNRELEASED; urgency=low + + * Added support for "status" action to init scripts + + -- Peter Eisentraut <pet...@debian.org> Thu, 08 Dec 2011 20:18:23 +0200 + console-setup (1.75) unstable; urgency=low * Team upload diff -Nru console-setup-1.75/debian/changelog console-setup-1.75+nmu1/debian/changelog --- console-setup-1.75/debian/changelog 2011-12-05 07:06:02.000000000 +0200 +++ console-setup-1.75+nmu1/debian/changelog 2011-12-08 20:18:54.000000000 +0200 @@ -1,3 +1,9 @@ +console-setup (1.75+nmu1) UNRELEASED; urgency=low + + * Added support for "status" action to init scripts + + -- Peter Eisentraut <pet...@debian.org> Thu, 08 Dec 2011 20:18:23 +0200 + console-setup (1.75) unstable; urgency=low * Team upload diff -Nru console-setup-1.75/debian/keyboard-configuration.console-setup.init console-setup-1.75+nmu1/debian/keyboard-configuration.console-setup.init --- console-setup-1.75/debian/keyboard-configuration.console-setup.init 2011-03-23 04:00:51.000000000 +0200 +++ console-setup-1.75+nmu1/debian/keyboard-configuration.console-setup.init 2011-12-08 20:17:45.000000000 +0200 @@ -42,7 +42,7 @@ fi case "$1" in - stop) + stop|status) # console-setup isn't a daemon ;; start|force-reload|restart|reload) @@ -54,7 +54,7 @@ fi ;; *) - echo 'Usage: /etc/init.d/console-setup {start|reload|restart|force-reload|stop}' + echo 'Usage: /etc/init.d/console-setup {start|reload|restart|force-reload|stop|status}' exit 1 ;; esac diff -Nru console-setup-1.75/debian/keyboard-configuration.keyboard-setup.init console-setup-1.75+nmu1/debian/keyboard-configuration.keyboard-setup.init --- console-setup-1.75/debian/keyboard-configuration.keyboard-setup.init 2011-03-23 04:00:51.000000000 +0200 +++ console-setup-1.75+nmu1/debian/keyboard-configuration.keyboard-setup.init 2011-12-08 20:18:18.000000000 +0200 @@ -46,7 +46,7 @@ fi case "$1" in - stop) + stop|status) # keyboard-setup isn't a daemon ;; start|force-reload|restart|reload) @@ -58,7 +58,7 @@ fi ;; *) - echo 'Usage: /etc/init.d/keyboard-setup {start|reload|restart|force-reload|stop}' + echo 'Usage: /etc/init.d/keyboard-setup {start|reload|restart|force-reload|stop|status}' exit 1 ;; esac