summaryrefslogtreecommitdiff
path: root/templates/system/allow-dhcp-nameservers/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/system/allow-dhcp-nameservers/node.def')
-rw-r--r--templates/system/allow-dhcp-nameservers/node.def3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/system/allow-dhcp-nameservers/node.def b/templates/system/allow-dhcp-nameservers/node.def
index c010baf1..442e003f 100644
--- a/templates/system/allow-dhcp-nameservers/node.def
+++ b/templates/system/allow-dhcp-nameservers/node.def
@@ -2,3 +2,6 @@ priority: 300
type: bool
help: Allow DHCP to update DNS settings
default: true
+
+update: sudo /opt/vyatta/sbin/vyatta_update_resolv.pl --config-mode 1
+delete: sudo /opt/vyatta/sbin/vyatta_update_resolv.pl --config-mode 1 \ No newline at end of file