[systemd-devel] How can i disable bluetooth.service in fc15
Kay Sievers
kay.sievers at vrfy.org
Fri Feb 25 11:12:11 PST 2011
On Fri, Feb 25, 2011 at 20:05, Miklos Vajna <vmiklos at frugalware.org> wrote:
> On Thu, Feb 24, 2011 at 11:39:49PM +0100, Rave it <chat-to-me at raveit.de> wrote:
>> i want to disable bluetooth.service in fedora 15 because i don't needed.
>> Normaly i removed bluez but now a days bluez have gnome-shell as an
>> dependency.
>> I try to do this with:
>> [root at mother rave]# systemctl stop bluetooth.service
>> [root at mother rave]# systemctl disable bluetooth.service
>>
>> But this helps only for a moment, after a restart bluetooth.service
>> starts again.
>> I think disabling bluetooth.service is possible because:
>> [root at mother rave]# systemctl show -p "Wants" bluetooth.service
>> Wants=
>>
>> So what i can do to solve this prob? Or isn't it possible?
>
> It starts because of bus activation.
>
> A hack I can imagine is copying /lib/systemd/system/bluetooth.service to
> /etc/systemd/system/bluetooth.service and change /usr/sbin/bluetoothd -n
> to /bin/true.
ln -s /dev/null /etc/systemd/system/bluetooth.service ?
Kay
More information about the systemd-devel
mailing list