1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-12 18:41:51 +00:00

Add again workaround on RPI<4

This commit is contained in:
Ycarus (Yannick Chabanois) 2019-07-25 20:44:18 +02:00
parent 5790ccd351
commit 4d419066fa

View file

@ -365,7 +365,7 @@ start_service() {
}
fi
uci -q commit network
[ -n "$(ubus call system board | jsonfilter -e '@.board_name' | grep raspberry)" ] && [ -n "$(ubus call system board | jsonfilter -e '@.kernel' | grep '4.14')" ] && {
[ -n "$(ubus call system board | jsonfilter -e '@.board_name' | grep raspberry)" ] && [ -z "$(ubus call system board | jsonfilter -e '@.board_name' | grep '4-model-b')" ] && {
ethtool --offload eth0 rx off tx off
}
}