diff --git a/roles/network/templates/hostapd/50-hostapd b/roles/network/templates/hostapd/50-hostapd index d3741e1ab..603f570a8 100644 --- a/roles/network/templates/hostapd/50-hostapd +++ b/roles/network/templates/hostapd/50-hostapd @@ -1,6 +1,7 @@ if [ "$interface" = "br0" ] && [ $if_up = "true" ]; then + syslog info "50-iiab IF_UP br0 restarting dnsmasq" sleep 2 - systemctl restart dnsmasq + systemctl --no-block restart dnsmasq fi if [ "$interface" = "wlan0" ]; then diff --git a/roles/network/templates/network/dnsmasq.sh.j2 b/roles/network/templates/network/dnsmasq.sh.j2 index 1969f8da5..00df42bf3 100755 --- a/roles/network/templates/network/dnsmasq.sh.j2 +++ b/roles/network/templates/network/dnsmasq.sh.j2 @@ -3,5 +3,5 @@ if [ "$IFACE" == "{{ iiab_lan_iface }}" ]; then echo "Restarting dnsmasq in 5 seconds" /bin/sleep 5 && /bin/systemctl --no-block restart dnsmasq.service - echo "Restarting dnsmasq" + echo "Restarted dnsmasq" fi