From 809bf9c4a0c44657f7efa5513ede2cf28be4576d Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Thu, 27 Jun 2024 11:43:51 +0200 Subject: [PATCH] update iw listing --- 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 d6e40a73b..c87260bea 100755 --- a/usr/bin/archboot-network.sh +++ b/usr/bin/archboot-network.sh @@ -40,7 +40,7 @@ _essid_list() { # only show lines with signal '*' # kill spaces from the end and replace spaces with + between # '+' character is one of 6 forbidden characters in SSID standard - for dev in $(iwctl station "${_INTERFACE}" get-networks | rg -o '{.{1,41}).*\*' -r '$1' | sd ' *.$|^.* ' ''); do + for dev in $(iwctl station "${_INTERFACE}" get-networks | rg -o '(.{1,41}).*\*' -r '$1' | sd ' *.$|^.* ' ''); do echo "${dev}" [[ "${1}" ]] && echo "${1}" done