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:
parent
4fe56e787e
commit
8aaa459d9c
1 changed files with 2 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue