Skip to content

Instantly share code, notes, and snippets.

@jhonoryza
Last active January 28, 2023 15:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jhonoryza/c00b95b2eca858df76e4c572d5ccc9c7 to your computer and use it in GitHub Desktop.
Save jhonoryza/c00b95b2eca858df76e4c572d5ccc9c7 to your computer and use it in GitHub Desktop.
Nsurlsessiond BigSur issue

disable annoying service in macos bigsur

  1. vim disable.sh
#!/bin/sh

TODISABLE=( \
'com.apple.nsurlsessiond'
)

echo ""
echo "*** BIG SUR GUI AGENTS ***"
for agent in "${TODISABLE[@]}"
do
    {
        echo "Booting out BIG SUR GUI Agent ${agent}"
        sudo launchctl disable gui/501/${agent}
    } #&> /dev/null
done
  1. chmod +x disable.sh
  2. ./disable.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment