projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
applications/luci-ffwizard-leipzig: fix dhcp splash network configuration
[project/luci.git]
/
applications
/
luci-ffwizard-leipzig
/
luasrc
/
model
/
cbi
/
ffwizard.lua
diff --git
a/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua
b/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua
index 4bab83768888cd6f66b81062f5d71dd8bb683da4..883973b2e6350eddfc409ca8898bcd9afb615060 100644
(file)
--- a/
applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua
+++ b/
applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua
@@
-392,10
+392,10
@@
function client.write(self, section, value)
-- Delete old splash
-- Delete old splash
- uci:delete_all("luci_splash", "iface", {net
=device
, zone="freifunk"})
+ uci:delete_all("luci_splash", "iface", {net
work=device.."dhcp"
, zone="freifunk"})
-- Register splash
-- Register splash
- uci:section("luci_splash", "iface", nil, {net
=device
, zone="freifunk"})
+ uci:section("luci_splash", "iface", nil, {net
work=device.."dhcp"
, zone="freifunk"})
uci:save("luci_splash")
end
uci:save("luci_splash")
end