mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
fix wireless ESSID scan
This commit is contained in:
parent
2b428421d2
commit
6294cd86a6
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ _wireless() {
|
||||||
if _dialog --cancel-label "${_LABEL}" --title " SSID Scan Result " --menu "Empty spaces in your SSID are replaced by '+' char" 13 60 6 \
|
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 |\
|
"RESCAN" "SSIDs" "HIDDEN" "SSID" $(iwctl station "${_INTERFACE}" get-networks |\
|
||||||
rg -o ' {6}(.{34}).*\*' -r '$1' |\
|
rg -o ' {6}(.{34}).*\*' -r '$1' |\
|
||||||
sd ' ' '+' | sd '\+*\n$' ' _') 2>"${_ANSWER}"; then
|
sd ' ' '+' | sd '\++$' ' _') 2>"${_ANSWER}"; then
|
||||||
_WLAN_SSID=$(cat "${_ANSWER}")
|
_WLAN_SSID=$(cat "${_ANSWER}")
|
||||||
_CONTINUE=1
|
_CONTINUE=1
|
||||||
if rg -q 'RESCAN' "${_ANSWER}"; then
|
if rg -q 'RESCAN' "${_ANSWER}"; then
|
||||||
|
|
Loading…
Reference in a new issue