applications/luci-ffwizard-leipzig: fix dhcp splash network configuration
This commit is contained in:
parent
47ec8ea5b7
commit
9473eb8b0d
1 changed files with 2 additions and 2 deletions
|
@ -392,10 +392,10 @@ function client.write(self, section, value)
|
|||
|
||||
|
||||
-- Delete old splash
|
||||
uci:delete_all("luci_splash", "iface", {net=device, zone="freifunk"})
|
||||
uci:delete_all("luci_splash", "iface", {network=device.."dhcp", zone="freifunk"})
|
||||
|
||||
-- Register splash
|
||||
uci:section("luci_splash", "iface", nil, {net=device, zone="freifunk"})
|
||||
uci:section("luci_splash", "iface", nil, {network=device.."dhcp", zone="freifunk"})
|
||||
uci:save("luci_splash")
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue