Skip to content

Commit

Permalink
patches/freifunk: hotfix for freifunk/openwrt-packages#33
Browse files Browse the repository at this point in the history
  • Loading branch information
SvenRoederer committed Jun 17, 2021
1 parent 787bf7b commit 976d850
Showing 1 changed file with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
From: Sven Roederer <[email protected]>
Date: Thu, 13 May 2021 19:31:18 +0200
Subject: mod-freifunk: hotfix for "https://github.com/freifunk/openwrt-packages/issues/33"

* don't drop root priviledges make page work again, but it's not a real fix of the issue

diff --git a/modules/luci-mod-freifunk/luasrc/controller/freifunk/freifunk.lua b/modules/luci-mod-freifunk/luasrc/controller/freifunk/freifunk.lua
index f35fa60dd34fdbb3d0619061fc9051cb12f8537d..8379513336f3b11b95ad504d3a2bef0650d2a531 100644
--- a/modules/luci-mod-freifunk/luasrc/controller/freifunk/freifunk.lua
+++ b/modules/luci-mod-freifunk/luasrc/controller/freifunk/freifunk.lua
@@ -18,8 +18,9 @@ function index()
page.title = _("Freifunk")
page.target = alias("freifunk", "index")
page.order = 5
- page.setuser = "nobody"
- page.setgroup = "nogroup"
+-- TODO: fix issue #33 and drop privileges again
+-- page.setuser = "nobody"
+-- page.setgroup = "nogroup"
page.i18n = "freifunk"
page.index = true

0 comments on commit 976d850

Please sign in to comment.