Per a discussion with jow, here's a default hostapd.vlan file and a patched 
Makefile to install the file to /etc

Signed-off-by: Matthew Bowman <mgbowman at gmx punct com>

package/hostapd/files/hostapd.vlan

# Wildcard entry matching all VLAN IDs. The first # in the interface
# name will be replaced with the VLAN ID. The network interfaces are
# created (and removed) dynamically based on the use.
* wlan0.#

--- a/Makefile  2011-07-25 15:43:33.000000000 +0300
+++ b/Makefile  2011-07-25 15:58:49.000000000 +0300
@@ -281,6 +281,8 @@
 define Install/hostapd
        $(INSTALL_DIR) $(1)/lib/wifi
        $(INSTALL_DATA) ./files/hostapd.sh $(1)/lib/wifi/hostapd.sh
+       $(INSTALL_DIR) $(1)/etc
+       $(INSTALL_DATA) ./files/hostapd.vlan $(1)/etc/hostapd.vlan
        $(INSTALL_DIR) $(1)/usr/sbin
 endef
 
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to