The next OpenWrt stable release aims to use firewall4 by default. As this uses nftables as backend, miniupnpd will no longer work. Create an iptables and nftables variant of the miniupnpd package so that miniupnpd can be used with either firewall variant. See #16818 for more info. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
13 lines
290 B
Bash
13 lines
290 B
Bash
#!/bin/sh
|
|
|
|
uci -q batch <<-EOT
|
|
delete firewall.miniupnpd
|
|
set firewall.miniupnpd=include
|
|
set firewall.miniupnpd.type=script
|
|
set firewall.miniupnpd.path=/usr/share/miniupnpd/firewall.include
|
|
set firewall.miniupnpd.family=any
|
|
set firewall.miniupnpd.reload=1
|
|
commit firewall
|
|
EOT
|
|
|
|
exit 0
|