Previously uncommitted work: MTU default in the form and uci-defaults, and a hotplug script that sets the fq qdisc on the wan device. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
8 lines
210 B
Shell
Executable file
8 lines
210 B
Shell
Executable file
#!/bin/sh
|
|
|
|
[ "$ACTION" = ifup ] || exit 0
|
|
[ "$INTERFACE" = wan ] || exit 0
|
|
[ -n "$DEVICE" ] || exit 0
|
|
command -v tc >/dev/null 2>&1 || exit 0
|
|
|
|
tc qdisc replace dev "$DEVICE" root fq limit 20000 flow_limit 1000
|