Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 14 lines (12 sloc) 0.449 kb
813ea36 @jridgewell Edit install.sh to to download files directly from github.
authored
1 #!/bin/bash
958301e @jridgewell Update descriptions, this unlocks volumes...
authored
2 echo "Uninstalling..."
b7d991d @jridgewell Better uninstalling
authored
3 cmd() { sudo security 2>&1 >/dev/null delete-generic-password -D "Encrypted Volume Password" -s "name.ridgewell.unlock" "/Library/Keychains/System.keychain"; }
4 err=`cmd`
5936faa @jridgewell Fix install/uninstall.
authored
5 while [[ $err == "password has been deleted." ]]; do
b7d991d @jridgewell Better uninstalling
authored
6 err=`cmd`
5936faa @jridgewell Fix install/uninstall.
authored
7 done
9172dc3 @jridgewell Allow proper access to the keychain item, and run as root only when need...
authored
8 sudo rm /Library/LaunchDaemons/name.ridgewell.unlock.plist
70e98b2 @jridgewell Update install and uninstall.
authored
9 sudo rm /Library/LaunchDaemons/name.ridgewell.unlock
958301e @jridgewell Update descriptions, this unlocks volumes...
authored
10
11 echo "--------------------------"
e4d91e1 @jridgewell Fix whitespace and output.
authored
12 echo ""
0a4f653 @jridgewell Integrate Unlock with the System Keychain
authored
13 echo "Uninstalled."
Something went wrong with that request. Please try again.