luci-mod-network: dhcp; implement ignore_hosts_dir dnsmasq setting

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
This commit is contained in:
Paul Donald 2024-11-08 16:39:19 +01:00
parent a9e1685f64
commit 53e66da926

View File

@ -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;