]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r362651:
authorCy Schubert <cy@FreeBSD.org>
Sun, 26 Jul 2020 13:07:09 +0000 (13:07 +0000)
committerCy Schubert <cy@FreeBSD.org>
Sun, 26 Jul 2020 13:07:09 +0000 (13:07 +0000)
commitb2672f7dbba8bc90672a4376702338aa940ed2b1
tree8e09477cb3299490763c192bd536f95f27a103ce
parent01f4584d09b07875614af6faceba41a3b5504cb0
MFC r362651:

Add MATCH option for CONFIG_MATCH_IFACE.

If the interfaces on which wpa_supplicant is to run are not known or do
not exist, wpa_supplicant can match an interface when it arrives. Each
matched interface is separated with -M argument and the -i argument now
allows for pattern matching.

As an example, the following command would start wpa_supplicant for a
specific wired interface called lan0, any interface starting with wlan
and lastly any other interface. Each match has its own configuration
file, and for the wired interface a specific driver has also been given.

wpa_supplicant \
-M -c wpa_wired.conf -ilan0 -D wired \
-M -c wpa1.conf -iwlan* \
-M -c wpa2.conf

PR: 247177
Reported by: greg@unrelenting.technology
Related to: ports r540412
usr.sbin/wpa/wpa_supplicant/Makefile