Package: dhcp3
Version: 3.1.1-1
Severity: minor
Tags: patch
User: [EMAIL PROTECTED]
Usertags: origin-ubuntu ubuntu-patch intrepid

"/etc/init.d/dhcp3-server stop" does nothing else than SIGTERMing
dhcpd. This happens anyway on shutdown/reboot (/etc/init.d/sendsigs),
thus running shell code for this is superfluous and just makes
shutdown slower.

Please consider applying attached patch.

Thanks,

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
--- dhcp3-3.1.1/debian/dhcp3-server.init.d
+++ dhcp3-3.1.1/debian/dhcp3-server.init.d
@@ -10,7 +10,7 @@
 # Should-Start:      $local_fs slapd
 # Should-Stop:       $local_fs slapd
 # Default-Start:     2 3 4 5
-# Default-Stop:      0 1 6
+# Default-Stop:      1
 # Short-Description: DHCP server
 # Description:       Dynamic Host Configuration Protocol Server
 ### END INIT INFO
@@ -81,7 +82,7 @@
 	done
 fi
 
-update-rc.d dhcp3-server start 40 2 3 4 5 . stop 40 0 1 6 . >/dev/null
+update-rc.d dhcp3-server start 40 2 3 4 5 . stop 40 1 . >/dev/null
 
 # Init script could fail, since dhcp3 is unconfigured on a new install
 invoke-rc.d dhcp3-server start || true

Attachment: signature.asc
Description: Digital signature

Reply via email to