diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-09-28 19:08:47 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-09-28 19:08:47 +0000 |
commit | 00f8f2fbb0995b1b307f2edcc26379be6fc55425 (patch) | |
tree | feb46b1e31684d4c8035bdf52b9225e48fb38c03 /modules | |
parent | 45effcd38cf2486f1a22abef7a5ac69b22fe0c8c (diff) |
modules/admin-full: disambiguate NTP client/server settings
Diffstat (limited to 'modules')
-rw-r--r-- | modules/admin-full/luasrc/model/cbi/admin_system/system.lua | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/admin-full/luasrc/model/cbi/admin_system/system.lua b/modules/admin-full/luasrc/model/cbi/admin_system/system.lua index 27f0225d4c..3a884c4813 100644 --- a/modules/admin-full/luasrc/model/cbi/admin_system/system.lua +++ b/modules/admin-full/luasrc/model/cbi/admin_system/system.lua @@ -192,7 +192,7 @@ if has_ntpd then s.anonymous = true s.addremove = false - o = s:option(Flag, "enable", translate("Enable builtin NTP server")) + o = s:option(Flag, "enable", translate("Enable NTP client")) o.rmempty = false function o.cfgvalue(self) @@ -211,6 +211,10 @@ if has_ntpd then end + o = s:option(Flag, "enable_server", translate("Provide NTP server")) + o:depends("enable", "1") + + o = s:option(DynamicList, "server", translate("NTP server candidates")) o.datatype = "host" o:depends("enable", "1") |