This commit is contained in:
Brian Zalewski 2024-05-05 06:52:41 +00:00
parent 7e92647cf4
commit bfec0f5724

View file

@ -25,9 +25,6 @@ if [ -d /Applications ] && [ -d /System ]; then
rm /tmp/wazuh-agent.pkg rm /tmp/wazuh-agent.pkg
logg info 'Running sudo wazuh-control start' logg info 'Running sudo wazuh-control start'
sudo wazuh-control start sudo wazuh-control start
else
logg warn "Skipping Wazuh Agent installation because System Integrity Protection is enabled. Disabling it requires booting into recovery and running csrutil disable, installing Wazuh Agent normally, and then re-enabling it again in recovery mode."
fi
else else
if command -v apt-get > /dev/null; then if command -v apt-get > /dev/null; then
logg info 'Importing GPG-KEY-WAZUH' logg info 'Importing GPG-KEY-WAZUH'