summaryrefslogtreecommitdiffstats
path: root/usr.sbin/wpa/hostapd_cli
diff options
context:
space:
mode:
authorjmg <jmg@FreeBSD.org>2014-06-22 10:00:33 +0000
committerjmg <jmg@FreeBSD.org>2014-06-22 10:00:33 +0000
commitfe156048d8ff669c6f66517f92ba7fcc7816c6a5 (patch)
tree9adf57ac71861b66ab5d3df3ad0ad3ea7e8b5957 /usr.sbin/wpa/hostapd_cli
parent11380bda9d8411b7a1d56c82de93777e2ea82508 (diff)
downloadFreeBSD-src-fe156048d8ff669c6f66517f92ba7fcc7816c6a5.zip
FreeBSD-src-fe156048d8ff669c6f66517f92ba7fcc7816c6a5.tar.gz
convert to using pidfile... This prevents multiple wpa_supplicants
running at the same time causing problems w/ wifi not working.. the patch will be submitted upstream... The next step if someone wants to push it upstream is to break os_unix.c up so that all these other utilities don't need libutil.. Reviewed by: rpaulo
Diffstat (limited to 'usr.sbin/wpa/hostapd_cli')
-rw-r--r--usr.sbin/wpa/hostapd_cli/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.sbin/wpa/hostapd_cli/Makefile b/usr.sbin/wpa/hostapd_cli/Makefile
index 8677fbf..3542aac 100644
--- a/usr.sbin/wpa/hostapd_cli/Makefile
+++ b/usr.sbin/wpa/hostapd_cli/Makefile
@@ -10,6 +10,9 @@ SRCS= common.c edit.c eloop.c hostapd_cli.c os_unix.c wpa_ctrl.c wpa_debug.c
CFLAGS+= -DCONFIG_CTRL_IFACE
CFLAGS+= -DCONFIG_CTRL_IFACE_UNIX
+DPADD+= ${LIBUTIL}
+LDADD+= -lutil
+
MAN= hostapd_cli.8
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud