1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-15 04:32:11 +00:00
iiab/roles/network/templates/network/dnsmasq.sh.j2
2020-08-01 11:08:02 -05:00

7 lines
206 B
Django/Jinja
Executable file

#!/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"
fi