QModem/luci/luci-app-qmodem-mwan/root/etc/udhcpc.user.d/01-reload-mwan3.dhcpscript
2024-12-20 01:17:21 +08:00

4 lines
142 B
Plaintext
Executable File

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