summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Sepulveda <javier.sepulveda@uv.es>2023-03-07 13:40:02 +0100
committerJavier Sepulveda <javier.sepulveda@uv.es>2023-03-07 13:40:02 +0100
commit17f189e268a59ff1573b4ca5ebeda33f39032f0f (patch)
tree50ee617d32614a3380cdd6da6326dc88b164ccde
parent0b7cf4680644e228b63448af8a30d947f1320e40 (diff)
downloaddeployment-17f189e268a59ff1573b4ca5ebeda33f39032f0f.tar.gz
deployment-17f189e268a59ff1573b4ca5ebeda33f39032f0f.tar.bz2
deployment-17f189e268a59ff1573b4ca5ebeda33f39032f0f.zip
Minor typo and order, fix
-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