1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 03:32:12 +00:00

netd-disp tuning

This commit is contained in:
Jerry Vonau 2020-04-22 19:25:49 -05:00
parent 776b983e3d
commit b8cf8712c2
2 changed files with 2 additions and 1 deletions

View file

@ -114,6 +114,7 @@
with_items:
- { src: 'hostapd/netd-disp', dest: '/etc/networkd-dispatcher/carrier.d/iiab-wifi' }
- { src: 'hostapd/netd-disp', dest: '/etc/networkd-dispatcher/no-carrier.d/iiab-wifi' }
- { src: 'hostapd/netd-disp', dest: '/etc/networkd-dispatcher/routeable.d/iiab-wifi' }
when: systemd_networkd_active and discovered_wireless_iface != "none" and rpi_model != "none" and wifi_up_down
- name: Remove networkd-dispatcher hook for hostapd on RPi hardware and not up/down

View file

@ -2,6 +2,6 @@
if [ "$IFACE" == "{{ discovered_wireless_iface }}" ]; then
echo "NET-DISP-WiFi $IFACE $STATE"
/usr/sbin/ip link set up ap0
/usr/sbin/ip link set ap0 up
fi