Package: pptpd
Version: 1.3.4-6
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch raring

Hi,

We've been carrying this patch in Ubuntu for some time as part of
https://wiki.ubuntu.com/Teardown, a project to make shutdown and reboot
faster by (among other things) dropping init script links that only send
SIGTERM to a daemon and don't wait for it to exit.  /etc/init.d/sendsigs
does this anyway, so there's no need for lots of individual init scripts
to do the same.

I've just noticed that this patch was never forwarded to Debian, so
thought I'd rectify that now.  Would you consider taking this for Debian
too?

  * Remove stop links from rc0 and rc6.

diff -u pptpd-1.3.4/debian/pptpd.init pptpd-1.3.4/debian/pptpd.init
--- pptpd-1.3.4/debian/pptpd.init
+++ pptpd-1.3.4/debian/pptpd.init
@@ -4,7 +4,7 @@
 # Required-Start:    $remote_fs $syslog
 # Required-Stop:     $remote_fs $syslog
 # Default-Start:     2 3 4 5
-# Default-Stop:      0 1 6
+# Default-Stop:      1
 ### END INIT INFO
 # Copyright Rene Mayrhofer, Gibraltar, 1999
 # This script is distibuted under the GPL
diff -u pptpd-1.3.4/debian/rules pptpd-1.3.4/debian/rules
--- pptpd-1.3.4/debian/rules
+++ pptpd-1.3.4/debian/rules
@@ -65,7 +65,7 @@
        dh_installexamples -ppptpd
 #      dh_installmenu
 #      dh_installemacsen
-       dh_installinit -ppptpd
+       dh_installinit -ppptpd -- start 20 2 3 4 5 . stop 20 1 .
 #      dh_installcron
        dh_installman -ppptpd
 #      dh_installdebconf

Thanks,

-- 
Colin Watson                                       [cjwat...@ubuntu.com]


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to