Ubuntu – Best way to deactivate Bluetooth on system startup? (with systemd and not upstart)

15.10bluetoothsystemdupstart

What is the best way to deactivate Bluetooth for every startup with systemd?
There are a lot of examples, but all of them work with upstart and rc.local.

With Ubuntu 15.10 rc.local is disabled by default. I think it's for a reason, or isn't it?

So how can I deactivate the Bluetooth target/service correctly without the rc.local script?

Maybe reactivate rc.local an add the line "rfkill block bluetooth" is the proper way?

Best Answer

First, stop the service:

sudo systemctl stop bluetooth.service

Then, disable it:

sudo systemctl disable bluetooth.service

Check:

systemctl status bluetooth.service