summaryrefslogtreecommitdiff
path: root/templates/system
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-06-02 17:15:42 -0700
committerAn-Cheng Huang <ancheng@vyatta.com>2009-07-17 14:30:20 -0700
commita0e00c69745c9915d879a3c812f339345fa9e7b3 (patch)
tree1d23163abce9c12ddea9fbd720af15fcc8d763d3 /templates/system
parent11e40f6139ff21a6528426dcab09e38e2798eef2 (diff)
downloadvyatta-cfg-system-a0e00c69745c9915d879a3c812f339345fa9e7b3.tar.gz
vyatta-cfg-system-a0e00c69745c9915d879a3c812f339345fa9e7b3.zip
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)
Diffstat (limited to 'templates/system')
-rw-r--r--templates/system/domain-search/domain/node.def2
-rw-r--r--templates/system/name-server/node.def2
2 files changed, 2 insertions, 2 deletions
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(@)