mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
7 lines
206 B
Django/Jinja
Executable file
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
|