summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xnetzbon/main.sh11
1 files changed, 6 insertions, 5 deletions
diff --git a/netzbon/main.sh b/netzbon/main.sh
index 70feada..f442e98 100755
--- 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