Re: update-rc.d
In article <[🔎] 3FB23B44.2050403@carbono.quimica.uniovi.es>,
Miguel Alvarez Blanco <miguel@carbono.quimica.uniovi.es> wrote:
>As I said in the first message, I do not know how to keep a package
>installed in the system and yet be able to de-activate its startup
>scripts, sort of like leaving it unconfigured.
# cd /etc/init.d
# mv script script.OFF
This will work. For the packaging system (dpkg) it looks like
you removed the "script" file, and it will treat that as a
"local modification". Since all files in /etc/init.d are
marked as "conffiles", an update will not install a new file there
since it would overwrite the "local modifications".
And even though the symlinks are still there in /etc/rc?.d,
the boot script will just ignore them. No weird error messages.
Mike.
Reply to:
- References:
- update-rc.d
- From: Miguel Alvarez Blanco <miguel@carbono.quimica.uniovi.es>
- Re: update-rc.d
- From: Henrique de Moraes Holschuh <hmh@debian.org>
- Re: update-rc.d
- From: Miguel Alvarez Blanco <miguel@carbono.quimica.uniovi.es>