blob: 12d7bb517e4ddb19a2002525824a837cfd4857ae (
plain)
1
2
3
4
5
6
7
8
9
|
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; "
|