Bump to next branch

Host: Ubuntu 21.04
This commit is contained in:
orangepi-xunlong
2022-03-07 16:26:01 +08:00
parent 812e231da2
commit 206214916c
615 changed files with 61837 additions and 2426 deletions

View File

@@ -1,23 +0,0 @@
#!/usr/bin/env bash
# With offloading enabled, Samba becomes completely useless - transfers to a Windows PC freezes randomly
# Disabling offloading should solve this - all RK3399
IFACE=$1
EVENT=$2
if [[ "$EVENT" != "up" ]]; then
exit 1
fi
if linux-version compare $(uname -r | cut -d '.' -f1,2) gt 4.4; then
exit 1
fi
ETHTOOL=/sbin/ethtool
[ -f $ETHTOOL ] || exit 2
[ -d /sys/devices/platform/fe300000.ethernet/net/$IFACE ] || exit 3
$ETHTOOL -K $IFACE rx off tx off
exit 0