summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-network/htdocs/luci-static
diff options
context:
space:
mode:
Diffstat (limited to 'modules/luci-mod-network/htdocs/luci-static')
-rw-r--r--modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js9
1 files changed, 8 insertions, 1 deletions
diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js
index 2612467c8b..16db7ed0ef 100644
--- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js
+++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js
@@ -646,8 +646,15 @@ return view.extend({
_('Query upstream resolvers in the order they appear in the resolv file.'));
o.optional = true;
+ o = s.taboption('files', form.Flag, 'ignore_hosts_dir',
+ _('Ignore hosts files directory'),
+ _('On: use instance specific hosts file only') + '<br/>' +
+ _('Off: use all files in the directory including the instance specific hosts file')
+ );
+ o.optional = true;
+
o = s.taboption('files', form.Flag, 'nohosts',
- customi18n(_('Ignore {etc_hosts}') )
+ customi18n(_('Ignore {etc_hosts} file') )
);
o.optional = true;