mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
[fix] checksum-offload-disable syntax errors
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ "$NM_DISPATCHER_ACTION" == "pre-up" ]; then
|
||||
if ["$DEVICE_IFACE" !== "$MAININT"]; then
|
||||
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;
|
||||
ethtool -K "$DEVICE_IFACE" "$i" off;
|
||||
done
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user