dnsmasq: add uci-defaults script for ipset migration
authorMathias Kresin <dev@kresin.me>
Wed, 4 May 2022 19:50:41 +0000 (21:50 +0200)
committerMathias Kresin <dev@kresin.me>
Wed, 4 May 2022 20:13:55 +0000 (22:13 +0200)
commitd501e183bd392e04b6ad338b49e7b8b33a4dcb96
tree5fdadf28fb376736cbe27c3099f119f6bc7beec8
parentf4e219fd5e6cfa33d234dad134fb105cc1620f54
dnsmasq: add uci-defaults script for ipset migration

When running sysupgrade from an existing configuration, move existing
ipset definitions to a dedicated config section. Later on, it will allow
to server ipset as well as nftable sets from the same configuration.

Signed-off-by: Mathias Kresin <dev@kresin.me>
package/network/services/dnsmasq/Makefile
package/network/services/dnsmasq/files/50-dnsmasq-migrate-ipset.sh [new file with mode: 0755]
package/network/services/dnsmasq/files/dnsmasq.init