distribution/packages/sysutils/autostart/sources/common/009-bluetooth

13 lines
262 B
Bash
Executable file

#!/bin/bash
. /etc/profile
if [ "$(get_setting bluetooth.enabled)" == "1" ]
then
nohup systemctl start bluetooth &
nohup systemctl start bluetooth-agent &
nohup systemctl start bluetoothsense &
rfkill unblock bluetooth
else
rfkill block bluetooth
fi