summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-meshwizard/luasrc/controller/meshwizard.lua
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-meshwizard/luasrc/controller/meshwizard.lua')
-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
+