| 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> |
| 3 | <plist version="1.0"> |
| 4 | <dict> |
| 5 | <key>Label</key> |
| 6 | <string>net.paperclover.work-share</string> |
| 7 | <key>ProgramArguments</key> |
| 8 | <array> |
| 9 | <string>/bin/sh</string> |
| 10 | <string>-c</string> |
| 11 | <string>/sbin/mount | /usr/bin/grep -Fq ' on /work (' || /sbin/mount -t nfs -o rw,vers=4,tcp,noresvport,retrycnt=0,intr,sec=sys,nocallback,noowners,rsize=1048576,wsize=1048576,readahead=16,noatime,nosuid,nodev 10.0.0.1:/.work /work || exit 1 |
| 12 | /bin/test -f /work/.snowglobe-work || { /sbin/umount -f /work; exit 1; }</string> |
| 13 | </array> |
| 14 | <key>RunAtLoad</key> |
| 15 | <true/> |
| 16 | <key>StartInterval</key> |
| 17 | <integer>30</integer> |
| 18 | </dict> |
| 19 | </plist> |