diff --git a/utils/luci-app-ffwizard-berlin/luasrc/model/cbi/freifunk/assistent/wireless.lua b/utils/luci-app-ffwizard-berlin/luasrc/model/cbi/freifunk/assistent/wireless.lua index 66d81a44..467e3399 100644 --- a/utils/luci-app-ffwizard-berlin/luasrc/model/cbi/freifunk/assistent/wireless.lua +++ b/utils/luci-app-ffwizard-berlin/luasrc/model/cbi/freifunk/assistent/wireless.lua @@ -88,6 +88,11 @@ function main.write(self, section, value) --share internet was not enabled before, set to false now uci:set("ffwizard", "settings", "sharenet", "0") uci:save("ffwizard") + --in case the wizard has been re-ran, ensure ffuplink is disabled + uci:set("network", "ffuplink", "disabled", "1") + else + --sharenet was enabled, therefore enable the ffuplink network interface + uci:set("network", "ffuplink", "disabled", "0") end -- store wizard data to fill fields if wizard is rerun