diff options
author | Daniil Baturin <daniil@baturin.org> | 2014-09-11 20:51:17 +0700 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2014-09-11 20:51:17 +0700 |
commit | d5585c36ec524898cd736fb039aad167eee5c6ab (patch) | |
tree | 69efa6a390e27fe7148a1934df0b0e4fb902afe3 /templates | |
parent | a314199d816863ed951f28e015ea388563ef361d (diff) | |
parent | 778daa753a558283a200e4f817d0e4a3e48ede10 (diff) | |
download | vyatta-cfg-system-d5585c36ec524898cd736fb039aad167eee5c6ab.tar.gz vyatta-cfg-system-d5585c36ec524898cd736fb039aad167eee5c6ab.zip |
Merge pull request #24 from cyclops8456/helium
vyatta-cfg-system: expand 'set system allow-dhcp-nameservers' logic
Diffstat (limited to 'templates')
-rw-r--r-- | templates/system/allow-dhcp-nameservers/node.def | 3 |
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 |