https://github.com/temikus/nloc
Nloc - network location switcher for Alfred
https://github.com/temikus/nloc
Last synced: 9 months ago
JSON representation
Nloc - network location switcher for Alfred
- Host: GitHub
- URL: https://github.com/temikus/nloc
- Owner: Temikus
- License: bsd-3-clause
- Created: 2013-05-02T16:38:24.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T05:32:33.000Z (over 2 years ago)
- Last Synced: 2025-08-18T19:55:17.019Z (10 months ago)
- Language: Shell
- Size: 30.3 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
- License: LICENSE.md
Awesome Lists containing this project
README
This workflow allows to quickly change between network locations.
Usage:
nloc network_location_name
Script supports autocompletion of known network locations.
NOTE: Due to changes in security policy on OS X 10.8, system _will_ ask you for your password after executing the workflow.
However, you can subvert the security protocol and avoid typing in the password every time by setting the suid bit on /usr/sbin/networksetup with:
sudo chmod u+s /usr/sbin/networksetup
OS X 10.7 system shouldn't ask for your password since it doesn't require the `networksetup` command to be executed with super user privileges.