mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
update iw listing
This commit is contained in:
parent
1186db771b
commit
5c3cdbc9ef
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ _essid_list() {
|
||||||
# only show lines with signal '*'
|
# only show lines with signal '*'
|
||||||
# kill spaces from the end and replace spaces with + between
|
# kill spaces from the end and replace spaces with + between
|
||||||
# '+' character is one of 6 forbidden characters in SSID standard
|
# '+' 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 ' *.$|^.* ' '' | sd ' ' '\+'); do
|
for dev in $(iwctl station "${_INTERFACE}" get-networks | rg -o '{.{1,41}).*\*' -r '$1' | sd ' *.$|^.* ' ''); do
|
||||||
echo "${dev}"
|
echo "${dev}"
|
||||||
[[ "${1}" ]] && echo "${1}"
|
[[ "${1}" ]] && echo "${1}"
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue