From: Jo-Philipp Wich Date: Fri, 28 Sep 2012 19:08:47 +0000 (+0000) Subject: modules/admin-full: disambiguate NTP client/server settings X-Git-Tag: 0.11.0~27 X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=00f8f2fbb0995b1b307f2edcc26379be6fc55425;ds=sidebyside modules/admin-full: disambiguate NTP client/server settings --- 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 27f0225d4..3a884c481 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")