1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-14 20:22:08 +00:00

restarting seems excessive just use start

This commit is contained in:
Jerry Vonau 2023-04-20 12:56:14 -05:00
parent 4fe56e787e
commit 8aaa459d9c

View file

@ -1,7 +1,6 @@
#!/bin/bash
if [ "$IFACE" == "{{ iiab_lan_iface }}" ]; then
echo "Restarting dnsmasq in 5 seconds"
/bin/sleep 5 && /bin/systemctl --no-block restart dnsmasq.service
echo "Restarted dnsmasq"
/bin/systemctl --no-block start dnsmasq.service
echo "Started dnsmasq"
fi