Petter Reinholdtsen <[EMAIL PROTECTED]> 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# > block:
> if dpkg --compare-versions "$2" lt "0.1"; then > update-rc.d -f hotkey-setup remove > fi [...] Is this acceptable according to policy? This will simply discard all local customzations like disabling he service in a special runlevel. cu andreas -- `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' -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]