This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
FILENAME="private.img"; | |
FILESIZE="100M"; | |
# Create encrypted volume if it doesn't exist | |
if [ ! -f $FILENAME ]; then | |
echo "Creating image file..."; | |
dd if=/dev/zero of=$FILENAME bs=$FILESIZE count=0 seek=1 |