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