[Pkg-utopia-maintainers] Bug#501310: hal: Do not stop in runlevels 0 and 6

Martin Pitt martin.pitt at ubuntu.com
Mon Oct 6 13:58:46 UTC 2008


Package: hal
Version: 0.5.11-4
Severity: wishlist
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: ubuntu-patch origin-ubuntu intrepid

Hi!

hal does not do anything beyond killing itself in the stop init
script, thus halt and reboot can be made a bit faster by not
installing rc.d symlinks for runlevels 0 and 6. Then it will just get
shut down by /etc/init.d/sendsigs.

Thanks for considering,

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
-------------- next part --------------
--- ../debian/debian/hal.init   2008-10-06 14:22:18.000000000 +0200
+++ debian/hal.init     2008-10-06 15:53:21.000000000 +0200
@@ -6,7 +6,7 @@
 # Should-Start:             $syslog acpid
 # Should-Stop:       $syslog acpid
 # Default-Start:     2 3 4 5
-# Default-Stop:      0 1 6
+# Default-Stop:      1
 # Short-Description: Hardware abstraction layer
 # Description:       The HAL daemon collects and maintains information about
 #                    your hardware.
--- debian/rules        2008-07-09 01:56:03 +0000
+++ debian/rules        2008-10-06 13:56:17 +0000
@@ -21,7 +21,7 @@
                              --enable-docbook-docs \
                              --docdir=/usr/share/doc/hal-doc

-DEB_DH_INSTALLINIT_ARGS := -- start 24 2 3 4 5 . stop 16 0 1 6 .
+DEB_DH_INSTALLINIT_ARGS := -- start 24 2 3 4 5 . stop 16 1 .

 install/hal::
        # Remove executable bit as this is nothing that can be executed

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20081006/3b83587a/attachment.pgp 


More information about the Pkg-utopia-maintainers mailing list