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:
parent
776b983e3d
commit
b8cf8712c2
2 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue