check crypt setup file
This commit is contained in:
@@ -87,7 +87,7 @@ fi
|
|||||||
echo "Sucessfuly obtained IPA vault fileencryption key."
|
echo "Sucessfuly obtained IPA vault fileencryption key."
|
||||||
|
|
||||||
#Setup and use encrypted filesystem
|
#Setup and use encrypted filesystem
|
||||||
if [ ! -d "${DECRYPTEDDATADIR}" ] || [ -f "${HOME}/.config/gocryptfs/gocryptfs.conf" ]; then
|
if [ ! -d "${DECRYPTEDDATADIR}" ] || [ ! -f "${HOME}/.config/gocryptfs/gocryptfs.conf" ]; then
|
||||||
#Key has been obtained, but no Directory was created till know
|
#Key has been obtained, but no Directory was created till know
|
||||||
echo "First Setup of encryption: Creating new Directories now"
|
echo "First Setup of encryption: Creating new Directories now"
|
||||||
mkdir -p ${ENCRYPTEDDATADIR} ${DECRYPTEDDATADIR} ${HOME}/.config/gocryptfs
|
mkdir -p ${ENCRYPTEDDATADIR} ${DECRYPTEDDATADIR} ${HOME}/.config/gocryptfs
|
||||||
|
|||||||
Reference in New Issue
Block a user