summaryrefslogtreecommitdiff
path: root/share/man/man4/pgt.4
diff options
context:
space:
mode:
authorPeter Hessler <phessler@cvs.openbsd.org>2019-01-21 02:50:01 +0000
committerPeter Hessler <phessler@cvs.openbsd.org>2019-01-21 02:50:01 +0000
commit7c8e1067afbe521cfde80a516ac99d975797be68 (patch)
tree9b99c61b9ae6ef5271f01e65e7b2f2f021b9f77f /share/man/man4/pgt.4
parent94c5f200ceddf462ad8475369705c5a37c6346ab (diff)
move example configurations to include nwid and nwkey on the same line
Diffstat (limited to 'share/man/man4/pgt.4')
-rw-r--r--share/man/man4/pgt.410
1 files changed, 4 insertions, 6 deletions
diff --git a/share/man/man4/pgt.4 b/share/man/man4/pgt.4
index f649374ab3f..07646a22fd6 100644
--- a/share/man/man4/pgt.4
+++ b/share/man/man4/pgt.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pgt.4,v 1.42 2016/03/07 13:47:53 stsp Exp $
+.\" $OpenBSD: pgt.4,v 1.43 2019/01/21 02:50:00 phessler Exp $
.\"
.\" Copyright (c) 2006 Theo de Raadt.
.\" Copyright (c) 2006 The DragonFly Project. All rights reserved.
@@ -30,7 +30,7 @@
.\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: March 7 2016 $
+.Dd $Mdocdate: January 21 2019 $
.Dt PGT 4
.Os
.Sh NAME
@@ -149,8 +149,7 @@ using WEP key
.Dq mywepkey ,
obtaining an IP address using DHCP:
.Bd -literal -offset indent
-nwid mynwid
-nwkey mywepkey
+nwid mynwid nwkey mywepkey
dhcp
.Ed
.Pp
@@ -159,8 +158,7 @@ The following
example creates a host-based access point on boot:
.Bd -literal -offset indent
mediaopt hostap
-nwid mynwid
-nwkey mywepkey
+nwid mynwid nwkey mywepkey
inet 192.168.1.1 255.255.255.0
.Ed
.Sh SEE ALSO