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

Re: How to prevent daemons from ever being started?



On Mon, May 15, 2006 at 10:27:00PM -0700, Vineet Kumar wrote:
> > >   echo "This daemon has been disabled"
> > >   exit 0
> > >
> > > near the top of the init.d scripts :)
> > 
> > using a /etc/default/daemon
> > DAEMON=disable
> > 
> > and a small check in the init.d script is what lots of packages actually do.
> 
> I think Uwe wanted them to not start automatically at boot but to be
> able to invoke the init script manually.  Both of these ideas prevent
> the manual invocation as well.

Correct. And I also don't like the idea of manually editing files in
/etc/init.d... I think policy-rc.d looks like what I want.


Uwe.
-- 
Uwe Hermann 
http://www.hermann-uwe.de
http://www.it-services-uh.de  | http://www.crazy-hacks.org 
http://www.holsham-traders.de | http://www.unmaintained-free-software.org

Attachment: signature.asc
Description: Digital signature


Reply to: