summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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(@)