distribution/packages/network/bluez/autostart/009-bluetooth
2023-04-01 12:23:19 +00:00

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