- #!/bin/bash
- if [ $(mount | grep -c /media/truecrypt) != 1 ]
- then
- mount -a || exit 1
- echo "/media/truecrypt is now mounted"
- else
- echo "/media/truecrypt was already mounted"
- fi
SHARE
TWEET
Untitled
a guest
Sep 18th, 2012
14
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
RAW Paste Data

