mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
[fix] Only return after all interfaces added to bond0
This commit is contained in:
@@ -885,10 +885,12 @@ configure_network_sensor() {
|
|||||||
connection.autoconnect "yes" >> "$setup_log" 2>&1
|
connection.autoconnect "yes" >> "$setup_log" 2>&1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
local err
|
||||||
for BNIC in "${BNICS[@]}"; do
|
for BNIC in "${BNICS[@]}"; do
|
||||||
add_interface_bond0 "$BNIC" >> "$setup_log" 2>&1
|
add_interface_bond0 "$BNIC" >> "$setup_log" 2>&1
|
||||||
return $?
|
err=$?
|
||||||
done
|
done
|
||||||
|
return $err
|
||||||
}
|
}
|
||||||
|
|
||||||
copy_salt_master_config() {
|
copy_salt_master_config() {
|
||||||
|
|||||||
Reference in New Issue
Block a user