From e96f878d4c43a0d9c6cf0b4c927a3cb34de899d1 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Mon, 11 Apr 2022 13:17:15 -0400 Subject: [PATCH] Only offer bluetooth if it is not already enabled. --- configure-stormux.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure-stormux.sh b/configure-stormux.sh index 149ae03..41e8195 100755 --- a/configure-stormux.sh +++ b/configure-stormux.sh @@ -91,7 +91,7 @@ while [[ "$choice" != "Exit" ]]; do "Change username" "Configure internet" ) - if [[ "${architecture}" == "aarch64" ]]; then + if [[ "$(systemctl is-active bluetooth)" == "active" ]] && [[ "${architecture}" == "aarch64" ]]; then options+=("Enable Bluetooth") fi options+=("Install Lxqt Desktop"