Package: hostapd
Version: 0.6.9-3
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 hostapd-0.6.9/debian/init.d hostapd-0.6.9/debian/init.d
--- hostapd-0.6.9/debian/init.d
+++ hostapd-0.6.9/debian/init.d
@@ -65,9 +65,13 @@
 	sleep 8
 	$0 start
 	;;
+  status)
+	status_of_proc $DAEMON $NAME
+	exit $?
+	;;
   *)
 	N=/etc/init.d/$NAME
-	echo "Usage: $N {start|stop|restart|force-reload}" >&2
+	echo "Usage: $N {start|stop|restart|force-reload|reload|status}" >&2
 	exit 1
 	;;
 esac
diff -u hostapd-0.6.9/debian/changelog hostapd-0.6.9/debian/changelog
--- hostapd-0.6.9/debian/changelog
+++ hostapd-0.6.9/debian/changelog
@@ -1,3 +1,10 @@
+hostapd (1:0.6.9-3.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Add init.d status support
+
+ -- Peter Eisentraut <pet...@debian.org>  Fri, 03 Jul 2009 23:32:32 +0300
+
 hostapd (1:0.6.9-3) unstable; urgency=low
 
   * Change Maintainer to pkg-wpa-devel team and add Reinhard and myself
diff -u hostapd-0.6.9/debian/control hostapd-0.6.9/debian/control
--- hostapd-0.6.9/debian/control
+++ hostapd-0.6.9/debian/control
@@ -11,7 +11,7 @@
 
 Package: hostapd
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, lsb-base (>= 3.0-3)
+Depends: ${shlibs:Depends}, ${misc:Depends}, lsb-base (>= 3.2-13)
 Description: user space IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator
  Originally, hostapd was an optional user space component for Host AP
  driver. It adds more features to the basic IEEE 802.11 management

Reply via email to