summaryrefslogtreecommitdiffstats
path: root/usr.sbin/wpa
diff options
context:
space:
mode:
authordanger <danger@FreeBSD.org>2008-07-01 21:52:49 +0000
committerdanger <danger@FreeBSD.org>2008-07-01 21:52:49 +0000
commit0938e82123800a888f9c29a128e7b7cd79c614a9 (patch)
treee3d0028e74920ff7c1aaca799bda11be208f1dfb /usr.sbin/wpa
parent6e72a32935ba2012312ea402fdbae602278190f7 (diff)
downloadFreeBSD-src-0938e82123800a888f9c29a128e7b7cd79c614a9.zip
FreeBSD-src-0938e82123800a888f9c29a128e7b7cd79c614a9.tar.gz
- install the example wpa_supplicant.conf file to the share/examples/etc
directory [1] - add the FILES section to the wpa_supplicant.conf.5 file, so that people will be able to detect the example configuration file easier. [2] PR: docs/121821 [2] Approved by: brooks [1] MFC after: 3 days
Diffstat (limited to 'usr.sbin/wpa')
-rw-r--r--usr.sbin/wpa/wpa_supplicant/Makefile2
-rw-r--r--usr.sbin/wpa/wpa_supplicant/wpa_supplicant.conf.55
2 files changed, 6 insertions, 1 deletions
diff --git a/usr.sbin/wpa/wpa_supplicant/Makefile b/usr.sbin/wpa/wpa_supplicant/Makefile
index 9465a46..927510f 100644
--- a/usr.sbin/wpa/wpa_supplicant/Makefile
+++ b/usr.sbin/wpa/wpa_supplicant/Makefile
@@ -16,7 +16,7 @@ SRCS= config.c eloop.c common.c md5.c rc4.c sha1.c aes_wrap.c \
MAN= wpa_supplicant.8 wpa_supplicant.conf.5
.if ${MK_EXAMPLES} != "no"
-FILESDIR= ${SHAREDIR}/examples/wpa_supplicant
+FILESDIR= ${SHAREDIR}/examples/etc
FILES= wpa_supplicant.conf
.endif
diff --git a/usr.sbin/wpa/wpa_supplicant/wpa_supplicant.conf.5 b/usr.sbin/wpa/wpa_supplicant/wpa_supplicant.conf.5
index 084176c..69f0bd6 100644
--- a/usr.sbin/wpa/wpa_supplicant/wpa_supplicant.conf.5
+++ b/usr.sbin/wpa/wpa_supplicant/wpa_supplicant.conf.5
@@ -518,6 +518,11 @@ network={
wep_key0=42FEEDDEAFBABEDEAFBEEFAA55
}
.Ed
+.Sh FILES
+.Bl -tag -width ".Pa /usr/share/examples/etc/wpa_supplicant.conf" -compact
+.It Pa /etc/wpa_supplicant.conf
+.It Pa /usr/share/examples/etc/wpa_supplicant.conf
+.El
.Sh SEE ALSO
.Xr wpa_cli 8 ,
.Xr wpa_passphrase 8 ,
OpenPOWER on IntegriCloud