Only offer bluetooth if it is not already enabled.
This commit is contained in:
parent
b080b51283
commit
e96f878d4c
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user