]> xenbits.xensource.com Git - people/royger/freebsd.git/commitdiff
There's an API function for displaying pauses
authordteske <dteske@FreeBSD.org>
Tue, 13 Dec 2016 02:30:24 +0000 (02:30 +0000)
committerdteske <dteske@FreeBSD.org>
Tue, 13 Dec 2016 02:30:24 +0000 (02:30 +0000)
usr.sbin/bsdinstall/scripts/wlanconfig

index 1eed3f0cdba0200d7d25ade5f543dfc4e26f0283..76a16f9be3602d82760a9354cbd0ee189e336bad 100755 (executable)
@@ -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' '