1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 11:42:08 +00:00

RPiOS - use dhcpcd hooks to restart hostapd when br0 appears

This commit is contained in:
Jerry Vonau 2020-08-01 00:05:31 -05:00
parent bfd67f9713
commit 13e25494c0

View file

@ -1,3 +1,7 @@
if [ "$interface" = "br0" ] && [ $if_up = "true" ]; then
sleep 2
systemctl restart dnsmasq
fi
if [ "$interface" = "wlan0" ]; then
REASON="$reason"