luci-mod-system: system.js: expose use_dhcp NTP option
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
e4ca5b237f
commit
1bad6f3e61
1 changed files with 5 additions and 0 deletions
|
@ -261,6 +261,11 @@ return L.view.extend({
|
|||
o.ucisection = 'ntp';
|
||||
o.depends('enabled', '1');
|
||||
|
||||
o = s.taboption('timesync', form.Flag, 'use_dhcp', _('Use NTP servers offered by DHCP'));
|
||||
o.ucisection = 'ntp';
|
||||
o.default = o.enabled;
|
||||
o.depends('enabled', '1');
|
||||
|
||||
o = s.taboption('timesync', form.DynamicList, 'server', _('NTP server candidates'));
|
||||
o.datatype = 'host(0)';
|
||||
o.ucisection = 'ntp';
|
||||
|
|
Loading…
Reference in a new issue