Package: procps
Version: 1:3.2.8-11
Severity: wishlist
Tags: patch

Please consider adding this small patch to the procps init script so
that the "status" action is supported.  Even though it's trivial, it'd
be nice to have this action supported across all init scripts.
diff -Nru procps-3.2.8/debian/changelog procps-3.2.8/debian/changelog
--- procps-3.2.8/debian/changelog	2011-07-25 15:25:16.000000000 +0300
+++ procps-3.2.8/debian/changelog	2011-10-22 20:40:47.000000000 +0300
@@ -1,3 +1,9 @@
+procps (1:3.2.8-11.1) UNRELEASED; urgency=low
+
+  * Added support for "status" action to init script
+
+ -- Peter Eisentraut <[email protected]>  Sat, 22 Oct 2011 20:40:23 +0300
+
 procps (1:3.2.8-11) unstable; urgency=low
 
   * No more complaints for 3.0 kernels Closes: #632749
diff -Nru procps-3.2.8/debian/procps.init.linux procps-3.2.8/debian/procps.init.linux
--- procps-3.2.8/debian/procps.init.linux	2010-02-01 05:07:30.000000000 +0200
+++ procps-3.2.8/debian/procps.init.linux	2011-10-22 20:40:20.000000000 +0300
@@ -49,8 +49,10 @@
 		;;
 	stop)
 		;;
+	status)
+		;;
 	*)
-		echo "Usage: /etc/init.d/procps {start|stop|restart|force-reload}" >&2
+		echo "Usage: /etc/init.d/procps {start|stop|restart|force-reload|status}" >&2
 		exit 3
 		;;
 esac

Reply via email to