mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Update so-combine-bond
This commit is contained in:
@@ -18,7 +18,7 @@ fi
|
|||||||
|
|
||||||
# Check if bond0 exists
|
# Check if bond0 exists
|
||||||
if ! ip link show bond0 &>/dev/null; then
|
if ! ip link show bond0 &>/dev/null; then
|
||||||
exit 1
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Function to get slave interfaces - works across distributions
|
# Function to get slave interfaces - works across distributions
|
||||||
@@ -48,7 +48,7 @@ get_bond_slaves() {
|
|||||||
SLAVES=$(get_bond_slaves bond0)
|
SLAVES=$(get_bond_slaves bond0)
|
||||||
|
|
||||||
if [ -z "$SLAVES" ]; then
|
if [ -z "$SLAVES" ]; then
|
||||||
exit 1
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Process each slave interface
|
# Process each slave interface
|
||||||
|
|||||||
Reference in New Issue
Block a user