#!/bin/ksh
-# $OpenBSD: install.sub,v 1.1182 2021/10/24 10:11:24 kn Exp $
+# $OpenBSD: install.sub,v 1.1183 2021/10/24 12:32:42 kn Exp $
#
# Copyright (c) 1997-2015 Todd Miller, Theo de Raadt, Ken Westerback
# Copyright (c) 2015, Robert Peichaer <rpe@openbsd.org>
ask_until "$_prompt" "O"
case "$_haswpa-$resp" in
?-[Oo]) # No further questions
- ifconfig $_if nwid "$_nwid"
- quote nwid "$_nwid" >>$_hn
+ ifconfig $_if join "$_nwid"
+ quote join "$_nwid" >>$_hn
break
;;
?-[Ww]) ask_until "WEP key? (will echo)"
# Make sure ifconfig accepts the key.
- if _err=$(ifconfig $_if nwid "$_nwid" nwkey "$resp" 2>&1) &&
+ if _err=$(ifconfig $_if join "$_nwid" nwkey "$resp" 2>&1) &&
[[ -z $_err ]]; then
- quote nwid "$_nwid" nwkey "$resp" >>$_hn
+ quote join "$_nwid" nwkey "$resp" >>$_hn
break
fi
echo "$_err"
;;
1-[Pp]) ask_until "WPA passphrase? (will echo)"
# Make sure ifconfig accepts the key.
- if ifconfig $_if nwid "$_nwid" wpakey "$resp"; then
- quote nwid "$_nwid" wpakey "$resp" >>$_hn
+ if ifconfig $_if join "$_nwid" wpakey "$resp"; then
+ quote join "$_nwid" wpakey "$resp" >>$_hn
break
fi
;;
-.\" $OpenBSD: an.4,v 1.45 2021/10/15 08:10:44 kn Exp $
+.\" $OpenBSD: an.4,v 1.46 2021/10/24 12:32:42 kn Exp $
.\"
.\" Copyright (c) 1997, 1998, 1999
.\" Bill Paul <wpaul@ee.columbia.edu>. All rights reserved.
.\"
.\" $FreeBSD: src/share/man/man4/an.4,v 1.5 2000/03/02 14:53:45 sheldonh Exp $
.\"
-.Dd $Mdocdate: October 15 2021 $
+.Dd $Mdocdate: October 24 2021 $
.Dt AN 4
.Os
.Sh NAME
.Dq mywepkey ,
obtaining an IP address using DHCP:
.Bd -literal -offset indent
-nwid mynwid nwkey mywepkey
+join mynwid nwkey mywepkey
inet autoconf
.Ed
.Sh DIAGNOSTICS
-.\" $OpenBSD: atu.4,v 1.40 2021/10/15 08:10:44 kn Exp $
+.\" $OpenBSD: atu.4,v 1.41 2021/10/24 12:32:42 kn Exp $
.\"
.\" Copyright (c) 1997, 1998, 1999
.\" Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved.
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
.\" THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: October 15 2021 $
+.Dd $Mdocdate: October 24 2021 $
.Dt ATU 4
.Os
.Sh NAME
.Dq mywepkey ,
obtaining an IP address using DHCP:
.Bd -literal -offset indent
-nwid mynwid nwkey mywepkey
+join mynwid nwkey mywepkey
inet autoconf
.Ed
.Sh SEE ALSO
-.\" $OpenBSD: atw.4,v 1.37 2021/10/15 08:10:44 kn Exp $
+.\" $OpenBSD: atw.4,v 1.38 2021/10/24 12:32:42 kn Exp $
.\" $NetBSD: atw.4,v 1.8 2004/06/06 04:05:49 wiz Exp $
.\"
.\" Copyright (c) 2003
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
.\" THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: October 15 2021 $
+.Dd $Mdocdate: October 24 2021 $
.Dt ATW 4
.Os
.Sh NAME
.Dq mywepkey ,
obtaining an IP address using DHCP:
.Bd -literal -offset indent
-nwid mynwid nwkey mywepkey
+join mynwid nwkey mywepkey
inet autoconf
.Ed
.Sh DIAGNOSTICS
-.\" $OpenBSD: bwi.4,v 1.45 2021/10/15 08:10:44 kn Exp $
+.\" $OpenBSD: bwi.4,v 1.46 2021/10/24 12:32:42 kn Exp $
.\"
.\" Copyright (c) 2007 Marcus Glocker <mglocker@openbsd.org>
.\"
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: October 15 2021 $
+.Dd $Mdocdate: October 24 2021 $
.Dt BWI 4
.Os
.Sh NAME
.Dq mywpakey ,
obtaining an IP address using DHCP:
.Bd -literal -offset indent
-nwid mynwid wpakey mywpakey
+join mynwid wpakey mywpakey
inet autoconf
.Ed
.Sh SEE ALSO
-.\" $OpenBSD: ipw.4,v 1.49 2021/10/15 08:10:44 kn Exp $
+.\" $OpenBSD: ipw.4,v 1.50 2021/10/24 12:32:42 kn Exp $
.\"
.\" Copyright (c) 2004
.\" Damien Bergamini <damien.bergamini@free.fr>. All rights reserved.
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: October 15 2021 $
+.Dd $Mdocdate: October 24 2021 $
.Dt IPW 4
.Os
.Sh NAME
.Dq mywpakey ,
obtaining an IP address using DHCP:
.Bd -literal -offset indent
-nwid mynwid wpakey mywpakey
+join mynwid wpakey mywpakey
inet autoconf
.Ed
.Sh DIAGNOSTICS
-.\" $OpenBSD: iwi.4,v 1.55 2021/10/15 08:10:44 kn Exp $
+.\" $OpenBSD: iwi.4,v 1.56 2021/10/24 12:32:42 kn Exp $
.\"
.\" Copyright (c) 2004
.\" Damien Bergamini <damien.bergamini@free.fr>. All rights reserved.
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: October 15 2021 $
+.Dd $Mdocdate: October 24 2021 $
.Dt IWI 4
.Os
.Sh NAME
.Dq mywpakey ,
obtaining an IP address using DHCP:
.Bd -literal -offset indent
-nwid mynwid wpakey mywpakey
+join mynwid wpakey mywpakey
inet autoconf
.Ed
.Sh DIAGNOSTICS
-.\" $OpenBSD: iwm.4,v 1.40 2021/10/15 08:10:44 kn Exp $
+.\" $OpenBSD: iwm.4,v 1.41 2021/10/24 12:32:42 kn Exp $
.\"
.\" Copyright (c) 2007,2008
.\" Damien Bergamini <damien.bergamini@free.fr>. All rights reserved.
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: October 15 2021 $
+.Dd $Mdocdate: October 24 2021 $
.Dt IWM 4
.Os
.Sh NAME
.Dq mywpakey ,
obtaining an IP address using DHCP:
.Bd -literal -offset indent
-nwid mynwid wpakey mywpakey
+join mynwid wpakey mywpakey
inet autoconf
.Ed
.Sh DIAGNOSTICS
-.\" $OpenBSD: iwn.4,v 1.58 2021/10/15 08:10:44 kn Exp $
+.\" $OpenBSD: iwn.4,v 1.59 2021/10/24 12:32:42 kn Exp $
.\"
.\" Copyright (c) 2007,2008
.\" Damien Bergamini <damien.bergamini@free.fr>. All rights reserved.
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: October 15 2021 $
+.Dd $Mdocdate: October 24 2021 $
.Dt IWN 4
.Os
.Sh NAME
.Dq mywpakey ,
obtaining an IP address using DHCP:
.Bd -literal -offset indent
-nwid mynwid wpakey mywpakey
+join mynwid wpakey mywpakey
inet autoconf
.Ed
.Sh DIAGNOSTICS
-.\" $OpenBSD: iwx.4,v 1.9 2021/10/16 15:05:59 jmc Exp $
+.\" $OpenBSD: iwx.4,v 1.10 2021/10/24 12:32:42 kn Exp $
.\"
.\" Copyright (c) 2020 Stefan Sperling <stsp@openbsd.org>
.\"
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: October 16 2021 $
+.Dd $Mdocdate: October 24 2021 $
.Dt IWX 4
.Os
.Sh NAME
.Dq mywpakey ,
obtaining an IP address using DHCP:
.Bd -literal -offset indent
-nwid mynwid wpakey mywpakey
+join mynwid wpakey mywpakey
inet autoconf
.Ed
.Sh DIAGNOSTICS
-.\" $OpenBSD: malo.4,v 1.50 2021/10/15 08:10:44 kn Exp $
+.\" $OpenBSD: malo.4,v 1.51 2021/10/24 12:32:42 kn Exp $
.\"
.\" Copyright (c) 2006 Theo de Raadt.
.\"
.\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: October 15 2021 $
+.Dd $Mdocdate: October 24 2021 $
.Dt MALO 4
.Os
.Sh NAME
.Dq mywpakey ,
obtaining an IP address using DHCP:
.Bd -literal -offset indent
-nwid mynwid wpakey mywpakey
+join mynwid wpakey mywpakey
inet autoconf
.Ed
.Sh SEE ALSO
-.\" $OpenBSD: otus.4,v 1.34 2021/10/15 08:10:44 kn Exp $
+.\" $OpenBSD: otus.4,v 1.35 2021/10/24 12:32:42 kn Exp $
.\"
.\" Copyright (c) 2009 Damien Bergamini <damien.bergamini@free.fr>
.\"
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: October 15 2021 $
+.Dd $Mdocdate: October 24 2021 $
.Dt OTUS 4
.Os
.Sh NAME
.Dq mywpakey ,
obtaining an IP address using DHCP:
.Bd -literal -offset indent
-nwid mynwid wpakey mywpakey
+join mynwid wpakey mywpakey
inet autoconf
.Ed
.Sh DIAGNOSTICS
-.\" $OpenBSD: rsu.4,v 1.24 2021/10/15 08:10:44 kn Exp $
+.\" $OpenBSD: rsu.4,v 1.25 2021/10/24 12:32:42 kn Exp $
.\"
.\" Copyright (c) 2010 Damien Bergamini <damien.bergamini@free.fr>
.\"
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: October 15 2021 $
+.Dd $Mdocdate: October 24 2021 $
.Dt RSU 4
.Os
.Sh NAME
.Dq mywpakey ,
obtaining an IP address using DHCP:
.Bd -literal -offset indent
-nwid mynwid wpakey mywpakey
+join mynwid wpakey mywpakey
inet autoconf
.Ed
.Sh DIAGNOSTICS
-.\" $OpenBSD: rtwn.4,v 1.11 2021/10/15 08:10:44 kn Exp $
+.\" $OpenBSD: rtwn.4,v 1.12 2021/10/24 12:32:42 kn Exp $
.\"
.\" Copyright (c) 2010 Damien Bergamini <damien.bergamini@free.fr>
.\" Copyright (c) 2015 Stefan Sperling <stsp@openbsd.org>
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: October 15 2021 $
+.Dd $Mdocdate: October 24 2021 $
.Dt RTWN 4
.Os
.Sh NAME
.Dq mywpakey ,
obtaining an IP address using DHCP:
.Bd -literal -offset indent
-nwid mynwid wpakey mywpakey
+join mynwid wpakey mywpakey
inet autoconf
.Ed
.Sh DIAGNOSTICS
-.\" $OpenBSD: run.4,v 1.55 2021/10/15 08:10:45 kn Exp $
+.\" $OpenBSD: run.4,v 1.56 2021/10/24 12:32:42 kn Exp $
.\"
.\" Copyright (c) 2008 Damien Bergamini <damien.bergamini@free.fr>
.\"
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: October 15 2021 $
+.Dd $Mdocdate: October 24 2021 $
.Dt RUN 4
.Os
.Sh NAME
.Dq mywpakey ,
obtaining an IP address using DHCP:
.Bd -literal -offset indent
-nwid mynwid wpakey mywpakey
+join mynwid wpakey mywpakey
inet autoconf
.Ed
.Sh DIAGNOSTICS
-.\" $OpenBSD: uath.4,v 1.37 2021/10/15 08:10:45 kn Exp $
+.\" $OpenBSD: uath.4,v 1.38 2021/10/24 12:32:42 kn Exp $
.\"
.\" Copyright (c) 2006
.\" Damien Bergamini <damien.bergamini@free.fr>
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: October 15 2021 $
+.Dd $Mdocdate: October 24 2021 $
.Dt UATH 4
.Os
.Sh NAME
.Dq mywepkey ,
obtaining an IP address using DHCP:
.Bd -literal -offset indent
-nwid mynwid nwkey mywepkey
+join mynwid nwkey mywepkey
inet autoconf
.Ed
.Sh DIAGNOSTICS
-.\" $OpenBSD: upgt.4,v 1.28 2021/10/15 08:10:45 kn Exp $
+.\" $OpenBSD: upgt.4,v 1.29 2021/10/24 12:32:42 kn Exp $
.\"
.\" Copyright (c) 2007 Marcus Glocker <mglocker@openbsd.org>
.\" Copyright (c) 2005-2007
.\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: October 15 2021 $
+.Dd $Mdocdate: October 24 2021 $
.Dt UPGT 4
.Os
.Sh NAME
.Dq mywpakey ,
obtaining an IP address using DHCP:
.Bd -literal -offset indent
-nwid mynwid wpakey mywpakey
+join mynwid wpakey mywpakey
inet autoconf
.Ed
.Sh SEE ALSO
-.\" $OpenBSD: urtw.4,v 1.27 2021/10/15 08:10:45 kn Exp $
+.\" $OpenBSD: urtw.4,v 1.28 2021/10/24 12:32:42 kn Exp $
.\"
.\" Copyright (c) 2008 Weongyo Jeong <weongyo@FreeBSD.org>
.\"
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: October 15 2021 $
+.Dd $Mdocdate: October 24 2021 $
.Dt URTW 4
.Os
.Sh NAME
.Dq mywpakey ,
obtaining an IP address using DHCP:
.Bd -literal -offset indent
-nwid mynwid wpakey mywpakey
+join mynwid wpakey mywpakey
inet autoconf
.Ed
.Sh SEE ALSO
-.\" $OpenBSD: urtwn.4,v 1.52 2021/10/15 08:10:45 kn Exp $
+.\" $OpenBSD: urtwn.4,v 1.53 2021/10/24 12:32:42 kn Exp $
.\"
.\" Copyright (c) 2010 Damien Bergamini <damien.bergamini@free.fr>
.\"
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: October 15 2021 $
+.Dd $Mdocdate: October 24 2021 $
.Dt URTWN 4
.Os
.Sh NAME
.Dq mywpakey ,
obtaining an IP address using DHCP:
.Bd -literal -offset indent
-nwid mynwid wpakey mywpakey
+join mynwid wpakey mywpakey
inet autoconf
.Ed
.Sh DIAGNOSTICS
-.\" $OpenBSD: wpi.4,v 1.43 2021/10/15 08:10:45 kn Exp $
+.\" $OpenBSD: wpi.4,v 1.44 2021/10/24 12:32:42 kn Exp $
.\"
.\" Copyright (c) 2006, 2007
.\" Damien Bergamini <damien.bergamini@free.fr>. All rights reserved.
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: October 15 2021 $
+.Dd $Mdocdate: October 24 2021 $
.Dt WPI 4
.Os
.Sh NAME
.Dq mywpakey ,
obtaining an IP address using DHCP:
.Bd -literal -offset indent
-nwid mynwid wpakey mywpakey
+join mynwid wpakey mywpakey
inet autoconf
.Ed
.Sh DIAGNOSTICS
-.\" $OpenBSD: zyd.4,v 1.47 2021/10/15 08:10:45 kn Exp $
+.\" $OpenBSD: zyd.4,v 1.48 2021/10/24 12:32:42 kn Exp $
.\"
.\" Copyright (c) 1997, 1998, 1999
.\" Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved.
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
.\" THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: October 15 2021 $
+.Dd $Mdocdate: October 24 2021 $
.Dt ZYD 4
.Os
.Sh NAME
.Dq mywpakey ,
obtaining an IP address using DHCP:
.Bd -literal -offset indent
-nwid mynwid wpakey mywpakey
+join mynwid wpakey mywpakey
inet autoconf
.Ed
.Sh DIAGNOSTICS