distribution/packages/sysutils/autostart/sources/common/009-bluetooth
fewtarius 1bf81188cb
* Apply additional powersavings adjustements.
* Block the bluetooth radio on startup if it's disabled.
* Block the WIFI radio if it's disabled.
* Add powertop package.
2023-01-19 06:14:52 -05:00

11 lines
179 B
Bash
Executable file

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