From 3845b6a7c5446e518659014dc8443380afeff944 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Wed, 6 Apr 2022 02:14:27 -0400 Subject: [PATCH] Add enable bluetooth option. --- configure-stormux.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure-stormux.sh b/configure-stormux.sh index cc9204e..e804b56 100755 --- a/configure-stormux.sh +++ b/configure-stormux.sh @@ -55,6 +55,10 @@ while [[ "$choice" != "Exit" ]]; do "Configure internet") /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") source .includes/gui.sh lxqt ;; @@ -81,6 +85,7 @@ while [[ "$choice" != "Exit" ]]; do choice="$(menulist \ "Change username" \ "Configure internet" \ + "Enable Bluetooth" \ "Install Lxqt Desktop" \ "Install Mate Desktop" \ "Install Ratpoison Windowmanager" \