diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/luci-mod-system/htdocs/luci-static/resources/view/system/system.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/luci-mod-system/htdocs/luci-static/resources/view/system/system.js b/modules/luci-mod-system/htdocs/luci-static/resources/view/system/system.js index ac6586af4..18af222d2 100644 --- a/modules/luci-mod-system/htdocs/luci-static/resources/view/system/system.js +++ b/modules/luci-mod-system/htdocs/luci-static/resources/view/system/system.js @@ -261,6 +261,11 @@ return L.view.extend({ o.ucisection = 'ntp'; o.depends('enabled', '1'); + o = s.taboption('timesync', form.Flag, 'use_dhcp', _('Use DHCP advertised servers')); + 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'; |