summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-olsr/luasrc/controller/olsr.lua
diff options
context:
space:
mode:
authorManuel Munz <freifunk@somakoma.de>2010-12-05 19:06:18 +0000
committerManuel Munz <freifunk@somakoma.de>2010-12-05 19:06:18 +0000
commit748fc464bec012972fec7e4e5ce7b81b9acdfc26 (patch)
tree70ebc93370086e3a419cafca65c75e1065b94d7d /applications/luci-olsr/luasrc/controller/olsr.lua
parent0a047ca8b86e25d37d7f731e7e28ae4100b9ce52 (diff)
applications/luci-olsr: Add smartgw status page
Diffstat (limited to 'applications/luci-olsr/luasrc/controller/olsr.lua')
-rw-r--r--applications/luci-olsr/luasrc/controller/olsr.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/applications/luci-olsr/luasrc/controller/olsr.lua b/applications/luci-olsr/luasrc/controller/olsr.lua
index 83f77582ba..9866060fc9 100644
--- a/applications/luci-olsr/luasrc/controller/olsr.lua
+++ b/applications/luci-olsr/luasrc/controller/olsr.lua
@@ -34,6 +34,11 @@ function index()
page.title = "MID"
page.order = 50
+ local page = node("admin", "status", "olsr", "smartgw")
+ page.target = call("action_smartgw")
+ page.title = "SmartGW"
+ page.order = 60
+
local ol = entry(
{"admin", "services", "olsrd"},
cbi("olsr/olsrd"), "OLSR"