summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-04-01 12:23:28 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-04-01 12:23:28 -0700
commit1979d595efbccf4abe793ee29ad3f11848951887 (patch)
treee6fd3e9ab79f5eeb053cb787ce36e628b374a582
parentf36b1e7ef0d82286608d62595edeebf374e97f7b (diff)
downloadvyatta-cfg-quagga-1979d595efbccf4abe793ee29ad3f11848951887.tar.gz
vyatta-cfg-quagga-1979d595efbccf4abe793ee29ad3f11848951887.zip
Change lack of interface in DDNS back to warning
If program can handle it no point in enforcing in CLI.
-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"