mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-09 10:42:54 +01:00
Only update rule files if AG
This commit is contained in:
@@ -935,8 +935,10 @@ main() {
|
||||
preupgrade_changes
|
||||
echo ""
|
||||
|
||||
echo "Updating Airgap Rule Files to the Latest."
|
||||
update_airgap_rules
|
||||
if [[ $is_airgap -eq 0 ]]; then
|
||||
echo "Updating Rule Files to the Latest."
|
||||
update_airgap_rules
|
||||
fi
|
||||
|
||||
# since we don't run the backup.config_backup state on import we wont snapshot previous version states and pillars
|
||||
if [[ ! "$MINIONID" =~ "_import" ]]; then
|
||||
|
||||
Reference in New Issue
Block a user