From 748fc464bec012972fec7e4e5ce7b81b9acdfc26 Mon Sep 17 00:00:00 2001 From: Manuel Munz Date: Sun, 5 Dec 2010 19:06:18 +0000 Subject: applications/luci-olsr: Add smartgw status page --- applications/luci-olsr/luasrc/controller/olsr.lua | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'applications/luci-olsr/luasrc/controller') 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" -- cgit v1.2.3