From a0e00c69745c9915d879a3c812f339345fa9e7b3 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Tue, 2 Jun 2009 17:15:42 -0700 Subject: Fix some more update tag A couple more places where update should be replaced with create because multiple values allowed. (cherry picked from commit a6c4d64593bf647e61133ef9d9383428b0ac5807) --- templates/system/domain-search/domain/node.def | 2 +- templates/system/name-server/node.def | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/system') diff --git a/templates/system/domain-search/domain/node.def b/templates/system/domain-search/domain/node.def index 8af03fa4..46248127 100644 --- a/templates/system/domain-search/domain/node.def +++ b/templates/system/domain-search/domain/node.def @@ -2,5 +2,5 @@ multi: type: txt help: Set DNS domain completion order syntax:expression: pattern $VAR(@) "^[-a-zA-Z0-9.]+$" ; "invalid domain name $VAR(@)" -update:expression: "sudo /opt/vyatta/sbin/vyatta_update_resolv.pl" +create:expression: "sudo /opt/vyatta/sbin/vyatta_update_resolv.pl" delete:expression: "sudo /opt/vyatta/sbin/vyatta_update_resolv.pl" diff --git a/templates/system/name-server/node.def b/templates/system/name-server/node.def index f762a8a1..4cbd7741 100644 --- a/templates/system/name-server/node.def +++ b/templates/system/name-server/node.def @@ -1,5 +1,5 @@ multi: type: ipv4 help: Set Domain Name Server (DNS) -update: sudo /opt/vyatta/sbin/vyatta-system-nameservers update $VAR(@) +create: sudo /opt/vyatta/sbin/vyatta-system-nameservers update $VAR(@) delete: sudo /opt/vyatta/sbin/vyatta-system-nameservers delete $VAR(@) -- cgit v1.2.3