diff options
author | Steven Barth <steven@midlink.org> | 2008-08-14 16:48:17 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-08-14 16:48:17 +0000 |
commit | b4d9e2867fdb9e95e777be189d907768466452d7 (patch) | |
tree | fe6f5dc300abbe43a35350e38b62914746e3347c /applications/luci-ntpc | |
parent | 36717208f1ae73290d352d706425e32f9726ff37 (diff) |
applications/luci-ntpc: Refreshed CBI model to work with latest UCI scheme
Diffstat (limited to 'applications/luci-ntpc')
-rw-r--r-- | applications/luci-ntpc/luasrc/model/cbi/ntpc/ntpc.lua | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/applications/luci-ntpc/luasrc/model/cbi/ntpc/ntpc.lua b/applications/luci-ntpc/luasrc/model/cbi/ntpc/ntpc.lua index cc4698384..d8b35c6e1 100644 --- a/applications/luci-ntpc/luasrc/model/cbi/ntpc/ntpc.lua +++ b/applications/luci-ntpc/luasrc/model/cbi/ntpc/ntpc.lua @@ -12,15 +12,11 @@ You may obtain a copy of the License at $Id$ ]]-- -require("luci.tools.webadmin") m = Map("ntpclient", translate("ntpc"), translate("ntpc_desc")) s = m:section(TypedSection, "ntpclient", translate("general")) s.anonymous = true -iface = s:option(ListValue, "iface", translate("ntpc_iface"), translate("ntpc_iface_desc")) -luci.tools.webadmin.cbi_add_networks(iface) - s:option(Value, "interval", translate("ntpc_interval")) s:option(Value, "count", translate("ntpc_count"), translate("ntpc_count_desc")) |