Configure.sh: make dynamic variable prompts and run without tokenfile

This commit is contained in:
2026-04-29 17:52:26 +02:00
parent a9be4d0ac9
commit a5c8d596fa
2 changed files with 12 additions and 29 deletions
+2 -1
View File
@@ -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."