Package: debhelper
Version: 7.2.6
Severity: wishlist

Hi,
I'd be nice if dh_installinit would parse the information of LSB headers
so that:

dh_installinit --lsb-headers --name=foo

would do the "right" thing: generating an update-rc.d call that creates
startup links in the runlevels given by the Default-Start and
Default-Stop headers at "default" start priority 20 and stop priority 80
(update-rc.d's defaults).

So an LSB header like:

### BEGIN INIT INFO
# Provides:          ipmasq-kmod
# Required-Start:
# Required-Stop:
# Default-Start:     S
# Default-Stop:
# Short-Description: load kernel modules for ipmasq.

Would generate an update-rc.d call in the postinst:

update-rc.d ipmasq-kmod start 20 S .

Cheers,
-- Guido




-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to