blob: de6afa6999b7b3ac7de220b28d43a2ded9f6bedc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
tag:
help: Set interface to send DDNS updates for
type: txt
allowed: /opt/vyatta/sbin/vyatta-interfaces.pl --show=all
commit:expression: $VAR(./@/service/@@) != ""; "At least one service must be set to send DDNS updates for $VAR(@)"
commit:expression: exec "/opt/vyatta/sbin/vyatta-interfaces.pl --dev=$VAR(@) --warn"
delete:touch /tmp/ddclient_$VAR(@).$PPID
end: if [ -f /tmp/ddclient_$VAR(@).$PPID ]; then
sudo /opt/vyatta/sbin/vyatta-dynamic-dns.pl --stop-dynamicdns --interface $VAR(@)
rm /tmp/ddclient_$VAR(@).$PPID
else
sudo /opt/vyatta/sbin/vyatta-dynamic-dns.pl --update-dynamicdns --interface $VAR(@)
fi
|