Setup - Fix paths so checksum will disable for real

This commit is contained in:
Mike Reeves
2019-12-12 22:51:09 -05:00
parent 6095f0ed9d
commit 222ea74bbb

View File

@@ -0,0 +1,9 @@
#!/bin/bash
if [ "$NM_DISPATCHER_ACTION" == "pre-up" ]; then
if ["$DEVICE_IFACE" !== "$MAININT"]; then
for i in rx tx sg tso ufo gso gro lro; do
ethtool -K $DEVICE_IFACE $i off;
done
fi
fi