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 ac6586af46..415a6a175e 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 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'; |