commit 17f189e268a59ff1573b4ca5ebeda33f39032f0f
parent 0b7cf4680644e228b63448af8a30d947f1320e40
Author: Javier Sepulveda <javier.sepulveda@uv.es>
Date: Tue, 7 Mar 2023 13:40:02 +0100
Minor typo and order, fix
Diffstat:
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/netzbon/main.sh b/netzbon/main.sh
@@ -2,7 +2,7 @@
# This file is in the public domain.
# main.sh is the main script that asks the questions and
-# puts the answers into environment variables located at "config/internal.conf,use.conf" files
+# puts the answers into environment variables located at "config/internal.conf,user.conf" files
# Nginx configuration - Reads values directly from these "config files".
set -eu
@@ -59,13 +59,16 @@ ask "SANDBOX_EXCHANGE_PASSWORD"
ask "NEXUS_ADMIN_PASSWORD"
ask "NEXUS_EXCHANGE_PASSWORD"
-# COPY values from variables -> to the configuration files
+
+# END USER INTERACTION
+
+
+# COPY values from variables -> to the configuration files.
# user.conf
# Please note "^^" means convert to uppercase
echo "CURRENCY=${CURRENCY^^}" >> config/user.conf
-
echo "BANK_NAME=\"${BANK_NAME}\"" >> config/user.conf
echo "ENABLE_TLS=${ENABLE_TLS}" >> config/user.conf
echo "DO_OFFLINE=${DO_OFFLINE}" >> config/user.conf
@@ -81,8 +84,6 @@ echo "NEXUS_EXCHANGE_PASSWORD=${NEXUS_EXCHANGE_PASSWORD}" >> config/internal.con
echo "SANDBOX_EXCHANGE_PASSWORD=${SANDBOX_EXCHANGE_PASSWORD}" >> config/internal.conf
-# END USER INTERACTION
-
# CHECK DNS settings
check_dns