forked from freifunk-franken/firmware
With the recent rework of the network configuration, any existing configuration is dropped in a uci-defaults script (22-network-base) and generated from scratch. When rebasing this rather old patchset, the packet_steering option was overlooked, so it is missing now. Restore the removed packet_steering option by setting it using a dedicated uci-defaults script. Signed-off-by: Fabian Bläse <fabian@blaese.de> Reviewed-by: Robert Langhammer <rlanghammer@web.de>
11 lines
190 B
Bash
11 lines
190 B
Bash
#!/bin/sh
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
# Enable RPS
|
|
uci batch <<-__EOF__
|
|
set network.globals=globals
|
|
set network.globals.packet_steering='1'
|
|
__EOF__
|
|
|
|
uci -q commit network
|