https://github.com/pythoninthegrass/reset_wifi
Tired of resetting PLISTs by hand
https://github.com/pythoninthegrass/reset_wifi
Last synced: about 1 year ago
JSON representation
Tired of resetting PLISTs by hand
- Host: GitHub
- URL: https://github.com/pythoninthegrass/reset_wifi
- Owner: pythoninthegrass
- Created: 2017-02-17T21:25:04.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-11-09T22:02:58.000Z (over 8 years ago)
- Last Synced: 2025-01-11T16:50:27.778Z (over 1 year ago)
- Language: Shell
- Size: 3.91 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# reset_wifi
Tired of deleting wifi PLISTs by hand.
## CREDIT ##
* `basename` string slicing with script variable name `$0` @ http://stackoverflow.com/a/26753382
* Logging @ http://unix.stackexchange.com/a/145654
* env tightening @ http://superuser.com/a/1133205
* PLISTs location @ http://osxdaily.com/2016/09/22/fix-wi-fi-problems-macos-sierra/
* Error logging @ http://unix.stackexchange.com/a/145654
* Ben Daschel @ https://github.com/supercoffee fixed my for loop modified from https://www.cyberciti.biz/faq/use-a-for-loop-to-remove-file-in-unix/ and http://stackoverflow.com/a/20203051. He also added the "declare" bit for the plistsArray.
* Directory arrays @ http://stackoverflow.com/questions/21668471/bash-script-create-array-of-all-files-in-a-directory
* Verify exit status function @ https://gist.github.com/smendonca/5064665
* Current user @ https://www.jamf.com/jamf-nation/discussions/14283/smb-network-shares-and-ad-home-directories#responseChild92639
* Set $IFS to eliminate whitespace in pathnames @ http://tldp.org/LDP/abs/html/internalvariables.html
* Quotation marks for variable expansion @ http://unix.stackexchange.com/a/131767
* Array loop and syntax @ http://unix.stackexchange.com/a/34012
## Notes ##
**TBD**