Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Dec 2016 02:30:25 +0000 (UTC)
From:      Devin Teske <dteske@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r309988 - head/usr.sbin/bsdinstall/scripts
Message-ID:  <201612130230.uBD2UPU6063290@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dteske
Date: Tue Dec 13 02:30:24 2016
New Revision: 309988
URL: https://svnweb.freebsd.org/changeset/base/309988

Log:
  There's an API function for displaying pauses

Modified:
  head/usr.sbin/bsdinstall/scripts/wlanconfig

Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig
==============================================================================
--- head/usr.sbin/bsdinstall/scripts/wlanconfig	Tue Dec 13 02:29:20 2016	(r309987)
+++ head/usr.sbin/bsdinstall/scripts/wlanconfig	Tue Dec 13 02:30:24 2016	(r309988)
@@ -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' '



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612130230.uBD2UPU6063290>