Update run_before_01-system-homebrew.sh.tmpl

This commit is contained in:
Brian Zalewski 2023-11-04 02:05:46 -04:00 committed by GitHub
parent 2d615cdcf4
commit 2bbe686cb9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -42,10 +42,10 @@ else
fi fi
### Configure Firewall ### Configure Firewall
if [ -d /Applications ] && [ -d /System ]; then # if [ -d /Applications ] && [ -d /System ]; then
logg info 'Disabling the block all incoming traffic option in the system Firewall settings' # logg info 'Disabling the block all incoming traffic option in the system Firewall settings'
/usr/libexec/ApplicationFirewall/socketfilterfw --setblockall off || (logg error 'Failed to disable incoming traffic block in the system Firewall' && logg info 'Manually disable the option under "System Preferences" > "Network" > "Firewall" > "Incoming Traffic Block Toggle"') # /usr/libexec/ApplicationFirewall/socketfilterfw --setblockall off || (logg error 'Failed to disable incoming traffic block in the system Firewall' && logg info 'Manually disable the option under "System Preferences" > "Network" > "Firewall" > "Incoming Traffic Block Toggle"')
fi # fi
### System upgrade on macOS ### System upgrade on macOS
if [ -d /Applications ] && [ -d /Library ] && [ -z "$NO_RESTART" ]; then if [ -d /Applications ] && [ -d /Library ] && [ -z "$NO_RESTART" ]; then