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

Merge pull request #2686 from jvonau/jv-ap

kick ap0 [fix for WiFi hotspot after RaspiOS is apt updated from kernel 5.4 to 5.10]
This commit is contained in:
A Holt 2021-02-23 19:13:26 -05:00 committed by GitHub
commit 2cc0875b16
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
if [ "$interface" = "br0" ] && [ $if_up = "true" ]; then
syslog info "50-iiab IF_UP br0 restarting dnsmasq"
sleep 2
syslog info "50-iiab IF_UP br0 restarting dnsmasq - kicking ap0"
ip link set ap0 up
systemctl --no-block restart dnsmasq
fi