distribution/packages/network/bluez/autostart/009-bluetooth
fewtarius bff71cd5e2
* Add additional feedback to the boot process so it's visible to the user.
* Add support for a variant of JELOS suitable for hosting containers.
* Fix desktop mode terminal bug.
2023-04-22 20:01:07 +00:00

14 lines
294 B
Bash
Executable file

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