mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 03:32:12 +00:00
RPiOS - use dhcpcd hooks to restart hostapd when br0 appears
This commit is contained in:
parent
bfd67f9713
commit
13e25494c0
1 changed files with 4 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
if [ "$interface" = "br0" ] && [ $if_up = "true" ]; then
|
||||
sleep 2
|
||||
systemctl restart dnsmasq
|
||||
fi
|
||||
|
||||
if [ "$interface" = "wlan0" ]; then
|
||||
REASON="$reason"
|
||||
|
|
Loading…
Reference in a new issue