openwrt-owl/package/firewall/files/20-firewall

6 lines
143 B
Plaintext

. /lib/firewall/uci_firewall.sh
unset ZONE
config_get ifname $INTERFACE ifname
[ "$ifname" == "lo" ] && exit 0
fw_event "$ACTION" "$INTERFACE"