modules/freifunk: don't drop priveleges for OLSR status page, we need root to talk to ubus
This commit is contained in:
parent
2e9b25330c
commit
0b5861d6bf
1 changed files with 3 additions and 1 deletions
|
@ -60,7 +60,9 @@ function index()
|
|||
assign({"freifunk", "status", "splash"}, {"splash", "publicstatus"}, _("Splash"), 40)
|
||||
end
|
||||
|
||||
assign({"freifunk", "olsr"}, {"admin", "status", "olsr"}, _("OLSR"), 30)
|
||||
page = assign({"freifunk", "olsr"}, {"admin", "status", "olsr"}, _("OLSR"), 30)
|
||||
page.setuser = false
|
||||
page.setgroup = false
|
||||
|
||||
if nixio.fs.access("/etc/config/luci_statistics") then
|
||||
assign({"freifunk", "graph"}, {"admin", "statistics", "graph"}, _("Statistics"), 40)
|
||||
|
|
Loading…
Reference in a new issue