mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
[fix] Remove condition for stopping SOC, since the parent condition covers what's tested
This commit is contained in:
@@ -846,10 +846,9 @@ else
|
|||||||
|
|
||||||
export percentage=95 # set to last percentage used in previous subshell
|
export percentage=95 # set to last percentage used in previous subshell
|
||||||
if [[ -n $ALLOW_ROLE && -n $ALLOW_CIDR ]]; then
|
if [[ -n $ALLOW_ROLE && -n $ALLOW_CIDR ]]; then
|
||||||
if [[ $is_manager || $is_import ]]; then
|
set_progress_str 96 "Stopping SOC prior to adjusting firewall rules"
|
||||||
set_progress_str 96 "Stopping SOC prior to adjusting firewall rules"
|
so-soc-stop # Stop SOC so it doesn't accept external requests prior to the reboot
|
||||||
so-soc-stop # Stop SOC so it doesn't accept external requests prior to the reboot
|
|
||||||
fi
|
|
||||||
set_progress_str 97 "Running so-allow -${ALLOW_ROLE} for ${ALLOW_CIDR}"
|
set_progress_str 97 "Running so-allow -${ALLOW_ROLE} for ${ALLOW_CIDR}"
|
||||||
IP=$ALLOW_CIDR so-allow -$ALLOW_ROLE >> $setup_log 2>&1
|
IP=$ALLOW_CIDR so-allow -$ALLOW_ROLE >> $setup_log 2>&1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user