packages/net/miniupnpd/files/miniupnpd.defaults
jow 9170d59796 miniupnpd: rework and simplify firewall integration by taking advantage of the new fw3 functions
git-svn-id: svn://svn.openwrt.org/openwrt/packages@36011 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-14 15:30:58 +00:00

14 lines
291 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=IPv4
set firewall.miniupnpd.reload=1
commit firewall
EOT
exit 0