summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-p2pblock/luasrc/controller
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-p2pblock/luasrc/controller')
-rw-r--r--applications/luci-p2pblock/luasrc/controller/ff_p2pblock.lua21
1 files changed, 21 insertions, 0 deletions
diff --git a/applications/luci-p2pblock/luasrc/controller/ff_p2pblock.lua b/applications/luci-p2pblock/luasrc/controller/ff_p2pblock.lua
new file mode 100644
index 0000000000..9184d99914
--- /dev/null
+++ b/applications/luci-p2pblock/luasrc/controller/ff_p2pblock.lua
@@ -0,0 +1,21 @@
+--[[
+LuCI - Lua Configuration Interface
+
+Copyright 2009 Jo-Philipp Wich <xm@subsignal.org>
+
+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
+
+$Id$
+]]--
+
+module("luci.controller.ff_p2pblock", package.seeall)
+
+function index()
+ require("luci.i18n").loadc("freifunk")
+ entry({"admin", "network", "firewall", "p2pblock"}, cbi("luci_fw/p2pblock"),
+ luci.i18n.translate("ff_p2pblock", "P2P-Block"), 40)
+end