mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 11:30:37 +02:00
update iw listing
This commit is contained in:
parent
9a0d15f348
commit
3ca01c85dc
1 changed files with 2 additions and 1 deletions
|
@ -41,6 +41,7 @@ _wireless() {
|
|||
_WLAN_SSID=""
|
||||
_WLAN_KEY=""
|
||||
_WLAN_AUTH=""
|
||||
|
||||
# unblock all interfaces!
|
||||
rfkill unblock all
|
||||
# disconnect the interface first!
|
||||
|
@ -55,7 +56,7 @@ _wireless() {
|
|||
if _dialog --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$' ' _\n') 2>"${_ANSWER}"; then
|
||||
rg -o ' {6}(.{34}).*\*' -r '"$1' | sd ' *$' '" _\n') 2>"${_ANSWER}"; then
|
||||
_WLAN_SSID=$(cat "${_ANSWER}")
|
||||
_CONTINUE=1
|
||||
if rg -q 'RESCAN' "${_ANSWER}"; then
|
||||
|
|
Loading…
Reference in a new issue