mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
Fixes the issue related to queue setup at boot. Also resolved classification when source port is used as the criteria.
18 lines
304 B
Bash
18 lines
304 B
Bash
#!/bin/sh
|
|
|
|
[ "$ACTION" = ifup ] || exit 0
|
|
|
|
. /lib/functions/network.sh
|
|
|
|
network_get_device l3device $INTERFACE
|
|
|
|
[ -n "$l3device" ] || exit 0
|
|
|
|
wan_if="$(uci -q get network.wan.ifname)"
|
|
|
|
for intf in $wan_if; do
|
|
if [ "$intf" == "$l3device" ]; then
|
|
ubus call uci commit '{"config":"qos"}'
|
|
exit
|
|
fi
|
|
done
|