From 1979d595efbccf4abe793ee29ad3f11848951887 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Wed, 1 Apr 2009 12:23:28 -0700 Subject: Change lack of interface in DDNS back to warning If program can handle it no point in enforcing in CLI. --- templates/service/dns/dynamic/interface/node.def | 2 +- templates/service/dns/forwarding/listen-on/node.def | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'templates') 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" -- cgit v1.2.3