Created
August 18, 2014 08:38
-
-
Save eduo/c7a022a2d5c7c1e19159 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<!-- Assumes script is named WiFiOrEth.sh in home directory --> | |
<!-- Edit, then unload and reload --> | |
<!-- launchctl unload ~/Library/LaunchAgents/info.eduo.WiFiOrEth.plist; --> | |
<!-- launchctl load ~/Library/LaunchAgents/info.eduo.WiFiOrEth.plist --> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>info.eduo.WiFiOrEth</string> | |
<key>EnableGlobbing</key> | |
<true/> | |
<key>ProgramArguments</key> | |
<array> | |
<string>~/WiFiOrEth.sh</string> | |
</array> | |
<key>StandardOutPath</key> | |
<string>/var/log/info.eduo.WiFiOrEth.log</string> | |
<key>StandardErrorPath</key> | |
<string>/var/log/info.eduo.WiFiOrEth.log</string> | |
<key>Debug</key> | |
<true/> | |
<key>WatchPaths</key> | |
<array> | |
<string>/Library/Preferences/SystemConfiguration</string> | |
</array> | |
</dict> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment