1bf81188cb
* Block the bluetooth radio on startup if it's disabled. * Block the WIFI radio if it's disabled. * Add powertop package.
11 lines
179 B
Bash
Executable file
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
|