firmware/src/packages/fff/fff-network/files/etc/uci-defaults/50-packet-steering

16 lines
303 B
Bash

#!/bin/sh
# SPDX-License-Identifier: GPL-3.0-or-later
# Skip devices which are capable of RSS
if [ $(uci get board.model.name) = "mikrotik,rb5009" ]; then
exit 0
fi
# Enable RPS
uci batch <<-__EOF__
set network.globals=globals
set network.globals.packet_steering='1'
__EOF__
uci -q commit network