modules/admin-full: disambiguate NTP client/server settings
This commit is contained in:
parent
45effcd38c
commit
00f8f2fbb0
1 changed files with 5 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue