Add enable bluetooth option.

This commit is contained in:
Storm Dragon 2022-04-06 02:14:27 -04:00
parent 6e7943a00b
commit 3845b6a7c5

View File

@ -55,6 +55,10 @@ while [[ "$choice" != "Exit" ]]; do
"Configure internet") "Configure internet")
/usr/bin/nmtui-connect /usr/bin/nmtui-connect
;; ;;
"Enable Bluetooth")
sudo sed -i 's/^#AutoEnable=false$/AutoEnable=true/' /etc/bluetooth/main.conf
sudo systemctl enable bluetooth --now
;;
"Install Lxqt Desktop") "Install Lxqt Desktop")
source .includes/gui.sh lxqt source .includes/gui.sh lxqt
;; ;;
@ -81,6 +85,7 @@ while [[ "$choice" != "Exit" ]]; do
choice="$(menulist \ choice="$(menulist \
"Change username" \ "Change username" \
"Configure internet" \ "Configure internet" \
"Enable Bluetooth" \
"Install Lxqt Desktop" \ "Install Lxqt Desktop" \
"Install Mate Desktop" \ "Install Mate Desktop" \
"Install Ratpoison Windowmanager" \ "Install Ratpoison Windowmanager" \