This file contains hidden or 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 | |
| #The linux version of truecrypt_7.1a disallows the creation of hidden volumes that are >2TB. | |
| #There is a technical workaround that will allow you to create very large hidden volumes. | |
| set -e | |
| lsblk | |
| # IMPORTANT: Set your device correctly, you will lose all data on the device. | |
| read -p 'Select device to encrypt, must be unmounted (ex: /dev/sdb): ' DEVICE | |
| if [ ! -b $DEVICE ]; then |
This file contains hidden or 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 | |
| set -e | |
| install_dependencies() { | |
| if which yum &>/dev/null; then | |
| sudo yum install -y cifs-utils | |
| else | |
| echo WARNING: cifs-utils not installed | |
| fi | |
| } |