also sprach micah anderson <mi...@riseup.net> [2011.03.22.0047 +0100]: > > So, removing the > > update_rc "-f", @resource[:name], "remove" > > line before "enable" should be fine. > > This does seem like it might work, although I'm concerned about the > corner cases, and: > > > However, I'm not sure how that would interact with systems upgraded from > > lenny. I'll check that and get back to you, hopefully soon. > > this as well. Please do get back as soon as you test this.
For the case that the links were previously removed, why not call update-rc.d with 'defaults' before enable. This will not do anything if the links exist, but it will install default links if they do not exist. -- .''`. martin f. krafft <madduck@d.o> Related projects: : :' : proud Debian developer http://debiansystem.info `. `'` http://people.debian.org/~madduck http://vcs-pkg.org `- Debian - when you have better things to do than fixing systems "gott ist tot! und wir haben ihn getötet." - friedrich nietzsche
digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)