mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 03:32:12 +00:00
RPiOS - use 'no-block' with dhcpcd
This commit is contained in:
parent
e57cad010e
commit
6e29ed1c3a
2 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue