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

RPiOS - use 'no-block' with dhcpcd

This commit is contained in:
Jerry Vonau 2020-08-01 11:08:02 -05:00
parent e57cad010e
commit 6e29ed1c3a
2 changed files with 3 additions and 2 deletions

View file

@ -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

View file

@ -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