2022-10-28 22:33:07 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
. /etc/profile
|
|
|
|
|
|
|
|
if [ "$(get_setting bluetooth.enabled)" == "1" ]
|
|
|
|
then
|
2023-01-19 11:14:52 +00:00
|
|
|
rfkill unblock bluetooth
|
2022-10-28 22:33:07 +00:00
|
|
|
nohup systemctl start bluetooth &
|
2023-01-19 11:14:52 +00:00
|
|
|
else
|
|
|
|
rfkill block bluetooth
|
2022-10-28 22:33:07 +00:00
|
|
|
fi
|