On Sat, Apr 9, 2011 at 11:04 AM, Dan <ganc...@gmail.com> wrote:
>
> 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
>
> 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?

cp /etc/init.d/bluetooth /etc/insserv/override/
vi /etc/insserv/override/bluetooth
{change the "Default-Start" and "Default-Stop" runlevels}
insserv --remove bluetooth
insserv --default bluetooth


-- 
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/BANLkTimWgsEeOrw+=vambyt8gobpnfq...@mail.gmail.com

Reply via email to