From 76fd828bdd8f366c073acbb8313c66096d25538f Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Sun, 30 Jun 2024 19:55:44 +0200 Subject: [PATCH] try to allow whitespace in essid --- usr/bin/archboot-network.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/bin/archboot-network.sh b/usr/bin/archboot-network.sh index daa00b2d4..cc3448d2e 100755 --- a/usr/bin/archboot-network.sh +++ b/usr/bin/archboot-network.sh @@ -57,7 +57,7 @@ _wireless() { if _dialog --column-separator ":" --cancel-label "${_LABEL}" --title " SSID Scan Result " --menu "Empty spaces in your SSID are replaced by '+' char" 13 60 6 \ "RESCAN":"SSIDs":"HIDDEN":"SSID":$(iwctl station "${_INTERFACE}" get-networks |\ rg -o ' {6}(.{34}).*\*' -r '$1' |\ - sd '\+*\n$' ':_') 2>"${_ANSWER}"; then + sd '\n$' ':_') 2>"${_ANSWER}"; then _WLAN_SSID=$(cat "${_ANSWER}") _CONTINUE=1 if rg -q 'RESCAN' "${_ANSWER}"; then