public
Description: A launchd config and supporting scripts to watch for network location changes and execute a script if it finds a match.
Homepage:
Clone URL: git://github.com/UnderpantsGnome/location_watcher.git
location_watcher / com.underpantsgnome.location_watcher.plist
100644 18 lines (17 sloc) 0.491 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?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>com.underpantsgnome.location_watcher</string>
<key>ProgramArguments</key>
<array>
<string>HOME_DIR/bin/location_watcher.sh</string>
</array>
<key>WatchPaths</key>
<array>
<string>/Library/Preferences/SystemConfiguration/preferences.plist</string>
</array>
</dict>
</plist>