Skip to content

Instantly share code, notes, and snippets.

@AndrewWCarson
Created June 2, 2019 16:44
Show Gist options
  • Save AndrewWCarson/e10086a7e96d0ef0a49406acae082546 to your computer and use it in GitHub Desktop.
Save AndrewWCarson/e10086a7e96d0ef0a49406acae082546 to your computer and use it in GitHub Desktop.
Enables location services on macOS 10.14 Mojave.
#!/bin/bash
/usr/bin/defaults write /var/db/locationd/Library/Preferences/ByHost/com.apple.locationd LocationServicesEnabled -int 1
@AndrewWCarson
Copy link
Author

Requires root access obvi.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment