From e7234befc3c8c9adec1fdcc6b4d21c0d2b295868 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 30 Jan 2009 15:07:36 +0000 Subject: [PATCH 1/1] Merge r4186 --- applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua b/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua index af67881d0..b81e77d9d 100644 --- a/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua +++ b/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua @@ -296,11 +296,14 @@ end function share.write(self, section, value) uci:delete_all("firewall", "forwarding", {src="freifunk", dest="wan"}) + uci:delete_all("olsrd", "LoadPlugin", {library="olsrd_dyn_gw_plain.so.0.4"}) if value == "1" then uci:section("firewall", "forwarding", nil, {src="freifunk", dest="wan"}) + uci:section("olsrd", "LoadPlugin", nil, {library="olsrd_dyn_gw_plain.so.0.4"}) end uci:save("firewall") + uci:save("olsrd") end -- 2.11.0