Configure.sh: make dynamic variable prompts and run without tokenfile
This commit is contained in:
@@ -82,7 +82,8 @@ get_nc_token() {
|
||||
return 1 # Token for Superuser makes no sense and cannot work
|
||||
fi
|
||||
|
||||
if [ ${IPAVAULTUSE} == "true" ]; then
|
||||
# If Filename is given andf encryption is turned on, than first check for encrypted Directory
|
||||
if [ ${IPAVAULTUSE} == "true" ] && [ ! -z ${DAVTOKENFILENAME} ]; then
|
||||
check_data_isecrypted
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Data Directory is not encrypted. Please mount it first."
|
||||
|
||||
Reference in New Issue
Block a user