There's an API function for displaying pauses
This commit is contained in:
parent
d79a135578
commit
7e1166de96
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=309988
@ -212,12 +212,8 @@ while :; do
|
||||
output=$( wpa_cli scan 2>&1 )
|
||||
f_dprintf "%s" "$output"
|
||||
f_dialog_title "Scanning"
|
||||
$DIALOG \
|
||||
--title "$DIALOG_TITLE" \
|
||||
--backtitle "$DIALOG_BACKTITLE" \
|
||||
--ok-label "$msg_skip" \
|
||||
--pause "Waiting 5 seconds to scan for wireless networks..." \
|
||||
9 40 5 || exit 1
|
||||
f_dialog_pause "Waiting 5 seconds to scan for wireless networks..." 5 ||
|
||||
exit 1
|
||||
|
||||
SCAN_RESULTS=$( wpa_cli scan_results )
|
||||
NETWORKS=$( echo "$SCAN_RESULTS" | awk -F '\t' '
|
||||
|
Loading…
Reference in New Issue
Block a user