X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=modules%2Fadmin-full%2Fluasrc%2Fmodel%2Fcbi%2Fadmin_system%2Fsystem.lua;h=3a884c4813777401e97122fd24a80d1ab7a2bd03;hp=27f0225d4c1ab329fc3a7a38f1c23f85d5704241;hb=00f8f2fbb0995b1b307f2edcc26379be6fc55425;hpb=45effcd38cf2486f1a22abef7a5ac69b22fe0c8c 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")