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"
|
"Change username"
|
||||||
"Configure internet"
|
"Configure internet"
|
||||||
)
|
)
|
||||||
if [[ "${architecture}" == "aarch64" ]]; then
|
if [[ "$(systemctl is-active bluetooth)" == "active" ]] && [[ "${architecture}" == "aarch64" ]]; then
|
||||||
options+=("Enable Bluetooth")
|
options+=("Enable Bluetooth")
|
||||||
fi
|
fi
|
||||||
options+=("Install Lxqt Desktop"
|
options+=("Install Lxqt Desktop"
|
||||||
|
Loading…
Reference in New Issue
Block a user