Package: linuxlogo
Version: 5.10-1
Severity: wishlist
Tags: patch

Here is a trivial patch to add support for the "status" action to the init
script.  Even though it doesn't do anything, please consider adding it, so
that all packages can support this action uniformly.
diff -u linuxlogo-5.10/debian/linuxlogo.init linuxlogo-5.10/debian/linuxlogo.init
--- linuxlogo-5.10/debian/linuxlogo.init
+++ linuxlogo-5.10/debian/linuxlogo.init
@@ -55,8 +55,12 @@
 		read ANYKEY
 		;;
 
+	status)
+		exit 0
+		;;
+
 	*)
-		echo "Usage: ${NAME} {start|restart|reload|force-reload|stop|force-stop|display}"
+		echo "Usage: ${NAME} {start|restart|reload|force-reload|stop|force-stop|display|status}"
 		exit 1
 		;;
 esac
diff -u linuxlogo-5.10/debian/changelog linuxlogo-5.10/debian/changelog
--- linuxlogo-5.10/debian/changelog
+++ linuxlogo-5.10/debian/changelog
@@ -1,3 +1,9 @@
+linuxlogo (5.10-1.1) UNRELEASED; urgency=low
+
+  * Add support for status action to init script
+
+ -- Peter Eisentraut <pet...@debian.org>  Fri, 14 Oct 2011 06:54:05 +0300
+
 linuxlogo (5.10-1) unstable; urgency=low
 
   * New upstream release.

Reply via email to