summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-meshwizard/luasrc/controller
diff options
context:
space:
mode:
authorManuel Munz <freifunk@somakoma.de>2011-06-23 15:52:00 +0000
committerManuel Munz <freifunk@somakoma.de>2011-06-23 15:52:00 +0000
commitab87896104be09072ccccad305588d46370ab5ad (patch)
treefc3c5a5db319668cf1185c671268bc8cdae7316b /applications/luci-meshwizard/luasrc/controller
parente88fd858a1c0d3dbac4703224dc63cb498839432 (diff)
Add new meshwizard (WIP)
Diffstat (limited to 'applications/luci-meshwizard/luasrc/controller')
-rw-r--r--applications/luci-meshwizard/luasrc/controller/meshwizard.lua21
1 files changed, 21 insertions, 0 deletions
diff --git a/applications/luci-meshwizard/luasrc/controller/meshwizard.lua b/applications/luci-meshwizard/luasrc/controller/meshwizard.lua
new file mode 100644
index 0000000000..4e930cc50d
--- /dev/null
+++ b/applications/luci-meshwizard/luasrc/controller/meshwizard.lua
@@ -0,0 +1,21 @@
+--[[
+LuCI - Lua Configuration Interface
+
+Copyright 2011 Manuel Munz <freifunk somakoma de>
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+]]--
+
+module "luci.controller.meshwizard"
+
+function index()
+ require("luci.i18n").loadc("meshwizard")
+ local i18n = luci.i18n.translate
+ entry({"admin", "freifunk", "meshwizard"}, cbi("freifunk/meshwizard"), i18n("Mesh Wizard"), 40)
+end
+