Date: Mon, 12 Dec 2016 18:55:41 +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: r309920 - head/usr.sbin/bsdinstall/scripts Message-ID: <201612121855.uBCItfTB077452@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dteske Date: Mon Dec 12 18:55:41 2016 New Revision: 309920 URL: https://svnweb.freebsd.org/changeset/base/309920 Log: Use provided API instead of hard-coded status integers Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig ============================================================================== --- head/usr.sbin/bsdinstall/scripts/wlanconfig Mon Dec 12 18:52:22 2016 (r309919) +++ head/usr.sbin/bsdinstall/scripts/wlanconfig Mon Dec 12 18:55:41 2016 (r309920) @@ -224,10 +224,10 @@ while :; do --menu \"Select a wireless network to connect to.\" 0 0 0 \ $(echo $NETWORKS | tr '\n' ' ')" 2>&1 1>&3 ) case $? in - 0) # OK + $DIALOG_OK) break ;; - 1) # Cancel + $DIALOG_CANCEL) # here we ask if the user wants to select the network manually f_dialog_title "Network Selection" f_dialog_yesno "Do you want to select the network manually?" || exit 1 @@ -239,7 +239,7 @@ while :; do f_dialog_title_restore break ;; - 3) # Rescan + $DIALOG_EXTRA) # Rescan ;; esac exec 3>&-
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612121855.uBCItfTB077452>