summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full/luasrc/model/cbi
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-03-27 17:29:19 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-03-27 17:29:19 +0000
commitd9cbd92d993dc39a05f7c7888e21ac0cfa3c9b19 (patch)
tree79746c7506baf745122897ba249ca7afe1c25126 /modules/admin-full/luasrc/model/cbi
parent903bea9683aa6f6843c9cd3697d40ca15989f104 (diff)
modules/admin-full: add rdate frontend
Diffstat (limited to 'modules/admin-full/luasrc/model/cbi')
-rw-r--r--modules/admin-full/luasrc/model/cbi/admin_system/system.lua7
1 files changed, 7 insertions, 0 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 a2bbf29b67..9f9c922319 100644
--- a/modules/admin-full/luasrc/model/cbi/admin_system/system.lua
+++ b/modules/admin-full/luasrc/model/cbi/admin_system/system.lua
@@ -82,4 +82,11 @@ s:option(Value, "log_size", nil, "kiB").optional = true
s:option(Value, "log_ip").optional = true
s:option(Value, "conloglevel").optional = true
s:option(Value, "cronloglevel").optional = true
+
+s2 = m:section(TypedSection, "rdate", translate("Time Server (rdate)"))
+s2.anonymous = true
+s2.addremove = false
+
+s2:option(DynamicList, "server", translate("Server"))
+
return m