mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
update iw listing
This commit is contained in:
parent
11ec1c9179
commit
9b1c42eaaf
1 changed files with 2 additions and 0 deletions
|
@ -51,6 +51,8 @@ _wireless() {
|
||||||
while [[ -z "${_CONTINUE}" ]]; do
|
while [[ -z "${_CONTINUE}" ]]; do
|
||||||
# scan the area
|
# scan the area
|
||||||
_essid_scan | _dialog --title " Network Configuration " --no-mouse --gauge "Scanning 5 second(s) for SSIDs with interface ${_INTERFACE}..." 6 60
|
_essid_scan | _dialog --title " Network Configuration " --no-mouse --gauge "Scanning 5 second(s) for SSIDs with interface ${_INTERFACE}..." 6 60
|
||||||
|
# only show lines with signal '*'
|
||||||
|
# kill spaces from the end and replace spaces with + between
|
||||||
#shellcheck disable=SC2086,SC2046
|
#shellcheck disable=SC2086,SC2046
|
||||||
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 |\
|
||||||
|
|
Loading…
Reference in a new issue