Re: Faster shutdown and the ubuntu "multiuser" update-rc.d extention
Petter Reinholdtsen <email@example.com> wrote:
> To change the runlevel settings of an init.d script using the Debian
> API, one most first remove it in the postinst, and insert it again.
> To do this, add code like this in the postinst before the #DEBHELPER#
> if dpkg --compare-versions "$2" lt "0.1"; then
> update-rc.d -f hotkey-setup remove
Is this acceptable according to policy? This will simply discard all
local customzations like disabling he service in a special runlevel.
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'