[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Feedback needed: How to disable services at startup... and keep them so.



Hi,

On Thu, Dec 09, 2010 at 08:15:08AM +0000, Camaleón wrote:
> On Thu, 09 Dec 2010 07:37:19 +0100, Sven Joachim wrote:
> 
> > On 2010-12-08 23:41 +0100, Javier Barroso wrote:
> > 
> >> On Wed, Dec 8, 2010 at 8:24 PM, Sven Joachim wrote:
> >>>
> >>> You should use "update-rc.d network-manager disable" instead.  See
> >>> update-rc.d(8).
> >> I think update-rc.d manpage should then change example which Camaleon
> >> referenced in her solved post:
> >>
> >> Example of disabling a service:
> >>           update-rc.d -f foobar remove
> >>           update-rc.d foobar stop 20 2 3 4 5 .
> > 
> > That does still work.
> 
> Not for me. Read:
> 
> http://lists.debian.org/debian-user/2010/12/msg00482.html
> http://lists.debian.org/debian-user/2010/12/msg00494.html
> 
> Or maybe I missed something... again? :-)

I have not checked recommended way under new concurrent boot system.

But /etc/init.d/foobar is conffile.  This means changes you make is
preserved and respected.  Whay not insert "exit 0" at the top to disable
them.  The script is started but does nothing.

This is a dirty but simple work around :-)

Anyway, you can be root.  You can do anything.

Osamu


Reply to: