wifi
This commit is contained in:
@@ -15,6 +15,8 @@ if [ -z "$CHOSEN_SSID" ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
CHOSEN_SSID="${CHOSEN_SSID%?}"
|
||||
|
||||
# Tjek om vi allerede er forbundet til det valgte netværk
|
||||
if nmcli connection show --active | grep -wq "^${CHOSEN_SSID}"; then
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user