Remove echo

This commit is contained in:
Bob Mottram 2015-06-30 19:30:37 +01:00
parent 257de9c58d
commit 5d3c744e67
1 changed files with 2 additions and 3 deletions

View File

@ -126,10 +126,9 @@ GPG_KEYS_SIZE_BYTES=$(wc -c <"$KEYS_FILE.gpg")
GPG_BYTES_PER_FRAGMENT=$((GPG_KEYS_SIZE_BYTES / KEY_FRAGMENTS))
GPG_BYTES_PER_FRAGMENT=$((GPG_BYTES_PER_FRAGMENT + 1))
mkdir -p $FRAGMENTS_DIR
echo "$GPG_BYTES_PER_FRAGMENT / $GPG_KEYS_SIZE_BYTES"
split --bytes=$GPG_BYTES_PER_FRAGMENT $KEYS_FILE.gpg $FRAGMENTS_DIR/data
#chown -R $MY_USERNAME:$MY_USERNAME $FRAGMENTS_DIR
#chmod -R 600 $FRAGMENTS_DIR
chown -R $MY_USERNAME:$MY_USERNAME $FRAGMENTS_DIR
chmod -R 600 $FRAGMENTS_DIR
# delete the keys file
shred -zu $KEYS_FILE.gpg