Package: dhcdbd
Version: 3.0-5
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 dhcdbd-3.0/debian/dhcdbd.init dhcdbd-3.0/debian/dhcdbd.init
--- dhcdbd-3.0/debian/dhcdbd.init
+++ dhcdbd-3.0/debian/dhcdbd.init
@@ -66,6 +66,9 @@
 	d_start
 	log_end_msg $?
 	;;
+  status)
+	status_of_proc $DAEMON $NAME
+	;;
   *)
 	echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2
 	exit 1
diff -u dhcdbd-3.0/debian/control dhcdbd-3.0/debian/control
--- dhcdbd-3.0/debian/control
+++ dhcdbd-3.0/debian/control
@@ -10,7 +10,7 @@
 
 Package: dhcdbd
 Architecture: any
-Depends: ${misc:Depends}, ${shlibs:Depends}, dhcp3-client, dbus (>= 0.60), lsb-base (>= 3.0-6)
+Depends: ${misc:Depends}, ${shlibs:Depends}, dhcp3-client, dbus (>= 0.60), lsb-base (>= 3.2-13)
 Description: D-Bus interface to the ISC DHCP client
  dhcdbd provides a D-Bus interface to dhclient, the DHCP client from ISC,
  so applications such as NetworkManager can query and control dhclient.

Reply via email to