distribution/packages/network/bluez/autostart/009-bluetooth
fewtarius 165f994bc1
* Rework profile bits so they are correctly named and sequenced.
* Drop deprecated device.config from AMD64.
* Add a platform quirk for AMD64.x
2023-09-04 10:46:11 +00:00

17 lines
382 B
Bash
Executable file

#!/bin/bash
# Minimal OS variable loading for performance
. /etc/profile.d/001-functions
(
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
) &