summaryrefslogtreecommitdiff
path: root/templates/system/disable-dhcp-nameservers/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/system/disable-dhcp-nameservers/node.def')
-rw-r--r--templates/system/disable-dhcp-nameservers/node.def5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/system/disable-dhcp-nameservers/node.def b/templates/system/disable-dhcp-nameservers/node.def
new file mode 100644
index 00000000..adf84948
--- /dev/null
+++ b/templates/system/disable-dhcp-nameservers/node.def
@@ -0,0 +1,5 @@
+priority: 300
+help: Disable DHCP updates of DNS settings
+
+create: sudo /opt/vyatta/sbin/vyatta_update_resolv.pl --config-mode 1
+delete: sudo /opt/vyatta/sbin/vyatta_update_resolv.pl --config-mode 1