Created
September 4, 2020 01:42
-
-
Save krzko/78272a41a11d06f789954d73bc2b2357 to your computer and use it in GitHub Desktop.
Network change plist, to be used with check_alpaca.sh
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 Computer//DTD PLIST 1.0//EN" \ | |
"http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>ifup.alpaca</string> | |
<key>LowPriorityIO</key> | |
<true/> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/Users/your_username/.local/bin/check_alpaca.sh</string> | |
</array> | |
<key>WatchPaths</key> | |
<array> | |
<string>/etc/resolv.conf</string> | |
<string>/Library/Preferences/SystemConfiguration/NetworkInterfaces.plist</string> | |
<string>/Library/Preferences/SystemConfiguration/com.apple.airport.preferences.plist</string> | |
</array> | |
<key>RunAtLoad</key> | |
<true/> | |
</dict> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment