blob: 2c42b1c3deb474dace05a2753996abc235ee3bcb (
plain)
1
2
3
4
5
6
7
8
9
10
|
priority: 918
help: Configure DNS forwarding
commit:expression: $VAR(./listen-on) != ""; "At least one interface must be configured for DNS forwarding parameter 'listen-on'"
delete:expression: "touch /tmp/dnsmasq.$PPID"
end:expression: "if [ -f \"/tmp/dnsmasq.$PPID\" ]; then \
sudo /opt/vyatta/sbin/vyatta-dns-forwarding.pl --stop-dnsforwarding \
rm /tmp/dnsmasq.$PPID; \
else \
sudo /opt/vyatta/sbin/vyatta-dns-forwarding.pl --update-dnsforwarding; \
fi; "
|