Skip to content

Instantly share code, notes, and snippets.

@robotsandcake
Created January 6, 2017 20:56
Show Gist options
  • Select an option

  • Save robotsandcake/b8903b245a5f096a1b930895c2afcc7f to your computer and use it in GitHub Desktop.

Select an option

Save robotsandcake/b8903b245a5f096a1b930895c2afcc7f to your computer and use it in GitHub Desktop.
<?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>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<true/>
<key>Label</key>
<string>wakestora</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/sbin/sleepwatcher</string>
<string>-V</string>
<string>-w /Users/yourusername/bin/KeepVolumeConnected/ConnectOnWake.sh</string>
</array>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment