2022-10-28 22:33:07 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
. /etc/profile
|
|
|
|
|
|
|
|
if [ "$(get_setting bluetooth.enabled)" == "1" ]
|
|
|
|
then
|
2023-04-22 20:01:07 +00:00
|
|
|
tocon "Starting bluetooth..."
|
2022-10-28 22:33:07 +00:00
|
|
|
nohup systemctl start bluetooth &
|
2023-01-23 22:41:38 +00:00
|
|
|
nohup systemctl start bluetooth-agent &
|
2023-01-27 01:14:02 +00:00
|
|
|
nohup systemctl start bluetoothsense &
|
2023-01-25 01:40:36 +00:00
|
|
|
rfkill unblock bluetooth
|
2023-01-19 11:14:52 +00:00
|
|
|
else
|
|
|
|
rfkill block bluetooth
|
2022-10-28 22:33:07 +00:00
|
|
|
fi
|