Commit b63b8df1 authored by Marek Puzyniak's avatar Marek Puzyniak Committed by Sukru Senli

ramips: add flow offload customization

In order to customize Flow Offload for particular
board UCI defaults mechanism is used.
Signed-off-by: Marek Puzyniak's avatarMarek Puzyniak <marek.puzyniak@iopsys.eu>
parent a0c49c77
#!/bin/sh
. /lib/functions.sh
board=$(board_name)
case "$board" in
genexis_ex400)
uci -q set firewall.@defaults[0].flow_offloading=1
uci -q set firewall.@defaults[0].flow_offloading_hw=1
uci commit firewall
;;
esac
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment