luci-base: remove further related section types on deleting network
authorJo-Philipp Wich <jo@mein.io>
Fri, 22 Oct 2021 17:44:43 +0000 (19:44 +0200)
committerJo-Philipp Wich <jo@mein.io>
Fri, 22 Oct 2021 17:44:43 +0000 (19:44 +0200)
commit63034c36073bedf87db18d05d3fe8cca016c6490
tree22b2cc0cff8ca98280d8992b4c7d8931b6168906
parent216767f420a92468b865a5ef301a1e94283dcb0e
luci-base: remove further related section types on deleting network

When removing a `config interface` section in `/etc/config/network`, drop
related `rule` and `rule6` sections too, as well as related `dhcp` sections
in `/etc/config/dhcp`.

Ref: https://forum.openwrt.org/t/grooming-etc-config/109764/7
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/network.js