mirror of
https://github.com/coolsnowwolf/packages.git
synced 2025-05-01 04:20:09 +08:00
7 lines
163 B
Bash
7 lines
163 B
Bash
if [ "$ACTION" = add ]; then
|
|
for dev in `ls /sys/class/net`; do
|
|
[ -d "/sys/class/net/$dev" ] || continue
|
|
ethtool -K $dev rx-gro-list off 2>/dev/null
|
|
done
|
|
fi
|