summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/service/dns/dynamic/interface/node.def2
-rw-r--r--templates/service/dns/forwarding/listen-on/node.def2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/service/dns/dynamic/interface/node.def b/templates/service/dns/dynamic/interface/node.def
index c402e483..de6afa69 100644
--- a/templates/service/dns/dynamic/interface/node.def
+++ b/templates/service/dns/dynamic/interface/node.def
@@ -2,8 +2,8 @@ tag:
help: Set interface to send DDNS updates for
type: txt
allowed: /opt/vyatta/sbin/vyatta-interfaces.pl --show=all
-syntax:expression: exec "/opt/vyatta/sbin/vyatta-interfaces.pl --dev=$VAR(@) --check=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
diff --git a/templates/service/dns/forwarding/listen-on/node.def b/templates/service/dns/forwarding/listen-on/node.def
index 9032b7f0..73913bb5 100644
--- a/templates/service/dns/forwarding/listen-on/node.def
+++ b/templates/service/dns/forwarding/listen-on/node.def
@@ -2,4 +2,4 @@ multi:
type: txt
help: Set interface to listen for DNS queries
allowed: /opt/vyatta/sbin/vyatta-interfaces.pl --show=all
-syntax:expression: exec "/opt/vyatta/sbin/vyatta-interfaces.pl --dev=$VAR(@) --check=all"
+commit:expression: exec "/opt/vyatta/sbin/vyatta-interfaces.pl --dev=$VAR(@) --warn"