mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
10 lines
228 B
Bash
Executable File
10 lines
228 B
Bash
Executable File
#!/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
|