1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-12 19:22:24 +00:00
iiab/roles/network/templates/hostapd/70-persistent-net.rules
2020-05-01 10:27:45 -05:00

3 lines
180 B
Text

SUBSYSTEM=="ieee80211", ACTION=="add|change", KERNEL=="phy0", \
RUN+="/sbin/iw phy phy0 interface add ap0 type __ap", \
RUN+="/sbin/ip link set ap0 address {{ ap0_mac_addr }}"