Package: gpsd
Version: 2.39-1
Severity: wishlist
Tags: patch
User: pet...@debian.org
Usertags: initd-status-support

Here is a patch to support the "status" action in the init.d script.
diff -u gpsd-2.39/debian/gpsd.init gpsd-2.39/debian/gpsd.init
--- gpsd-2.39/debian/gpsd.init
+++ gpsd-2.39/debian/gpsd.init
@@ -63,9 +63,12 @@
 	set +e; $SELF stop; set -e
 		$SELF start
 	;;
+  status)
+	status_of_proc $DAEMON gpsd
+	;;
   *)
 	N=/etc/init.d/gpsd
-	echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
+	echo "Usage: $N {start|stop|restart|reload|force-reload|status}" >&2
 	exit 1
 	;;
 esac
diff -u gpsd-2.39/debian/control gpsd-2.39/debian/control
--- gpsd-2.39/debian/control
+++ gpsd-2.39/debian/control
@@ -15,7 +15,7 @@
 
 Package: gpsd
 Architecture: any
-Depends: python, netbase, lsb-base (>= 3.0-6), ${shlibs:Depends}, ${misc:Depends}
+Depends: python, netbase, lsb-base (>= 3.2-13), ${shlibs:Depends}, ${misc:Depends}
 Recommends: udev
 Breaks: ${gpsd:Breaks}
 Suggests: gpsd-clients

Reply via email to