On Sat, Apr 09, 2011 at 11:04:52AM -0400, Dan wrote:
> Hi,
> I would like to know which is the standard way to disable services. I
> thought that the standard way is just to delete the link of the
> service from rc*.d
> 
> For example to disable bluetooth I would just delete the link
> /etc/rc3.d/S20bluetooth that points to ../init.d/bluetooth

Some may disagree (and I've made this point before)
a standard way to prevent a script from
executing in Unixlike system is to set the 
permissions.

chmod a-x /etc/init.d/bluetooth



> But then I used service manager from gnome to disable bluetooth. It
> disabled the service but it didn't delete the link. So I guess that
> there is a standard procedure to disable the service without deleting
> the link. Which is that procedure?
> 
> Thanks,
> Dan
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> Archive: 
> http://lists.debian.org/BANLkTi=8PHwgtS-DdaLMv=wyy8yoq9m...@mail.gmail.com
> 

-- 
Joel Roth


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110409210533.GA24051@sprite

Reply via email to