From owner-svn-src-head@freebsd.org Mon Dec 12 21:11:56 2016 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9B27CC7399C; Mon, 12 Dec 2016 21:11:56 +0000 (UTC) (envelope-from dteske@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6AD5B1F23; Mon, 12 Dec 2016 21:11:56 +0000 (UTC) (envelope-from dteske@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uBCLBt4u037171; Mon, 12 Dec 2016 21:11:55 GMT (envelope-from dteske@FreeBSD.org) Received: (from dteske@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uBCLBtue037170; Mon, 12 Dec 2016 21:11:55 GMT (envelope-from dteske@FreeBSD.org) Message-Id: <201612122111.uBCLBtue037170@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dteske set sender to dteske@FreeBSD.org using -f From: Devin Teske Date: Mon, 12 Dec 2016 21:11:55 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r309945 - head/usr.sbin/bsdinstall/scripts X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Dec 2016 21:11:56 -0000 Author: dteske Date: Mon Dec 12 21:11:55 2016 New Revision: 309945 URL: https://svnweb.freebsd.org/changeset/base/309945 Log: 1 is the default descriptor for redirects without an fd prefix Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig ============================================================================== --- head/usr.sbin/bsdinstall/scripts/wlanconfig Mon Dec 12 21:04:11 2016 (r309944) +++ head/usr.sbin/bsdinstall/scripts/wlanconfig Mon Dec 12 21:11:55 2016 (r309945) @@ -240,7 +240,7 @@ while :; do --menu \"Select a wireless network to connect to.\" \ 0 0 0 \ $( echo $NETWORKS | tr '\n' ' ' )" \ - 2>&1 1>&3 + 2>&1 >&3 ) case $? in $DIALOG_OK) @@ -260,7 +260,7 @@ while :; do "2 WPA/WPA2 EAP" "" \ "3 WEP" "" \ "0 None" "" \ - 2>&1 1>&3 + 2>&1 >&3 ) || exit 1 SCANSSID=1 f_dialog_title_restore @@ -285,7 +285,7 @@ if echo $ENCRYPTION | grep -q 'PSK'; the 0 0 0 \ "SSID" 1 0 "$NETWORK" 1 12 0 0 2 \ "Password" 2 0 "" 2 12 15 63 1 \ - 2>&1 1>&3 + 2>&1 >&3 ) || exec "$0" "$@" exec 3>&- awk 'sub(/^\t/,"")||1' \ @@ -307,7 +307,7 @@ elif echo $ENCRYPTION | grep -q EAP; the "SSID" 1 0 "$NETWORK" 1 12 0 0 2 \ "Username" 2 0 "" 2 12 25 63 0 \ "Password" 3 0 "" 3 12 25 63 1 \ - 2>&1 1>&3 + 2>&1 >&3 ) || exec "$0" "$@" exec 3>&- awk 'sub(/^\t/,"")||1' \ @@ -336,7 +336,7 @@ elif echo $ENCRYPTION | grep -q WEP; the --mixedform "" 0 0 0 \ "SSID" 1 0 "$NETWORK" 1 12 0 0 2 \ "WEP Key 0" 2 0 "" 2 12 15 0 1 \ - 2>&1 1>&3 + 2>&1 >&3 ) || exec "$0" "$@" awk 'sub(/^\t/,"")||1' \ >> "$BSDINSTALL_TMPETC/wpa_supplicant.conf" <<-EOF