add script to re-init mwan3

This commit is contained in:
fujr 2024-12-20 01:17:21 +08:00
parent c5a0fe56cd
commit 7c4b255244

View File

@ -0,0 +1,3 @@
[ "$1" == "bound" ] || exit 0
iptables -t mangle -S mwan3_hook && exit 0
[ "$(uci -q get mwan3.$INTERFACE)" == "interface" ] && mwan3 restart