commit 8b4af5f0265e487971b475413b169d13f28ea1be parent bb344cf64c34499b94828016c4fc17a300ef7059 Author: MS <ms@taler.net> Date: Mon, 4 Dec 2023 23:30:25 +0100 grouping env logic Diffstat:
| M | netzbon/main.sh | | | 12 | ++++++------ |
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/netzbon/main.sh b/netzbon/main.sh @@ -42,12 +42,6 @@ if ! ping -c1 "bank.${DOMAIN_NAME}" &>/dev/null; then exit 1 fi -# Check if the user is root, otherwise EXIT. -check_user - -# Installation of deb packages required -. install_packages.sh - if test -z "${BANK_EXCHANGE_PASSWORD:-}"; then BANK_EXCHANGE_PASSWORD=$(uuidgen) echo "BANK_EXCHANGE_PASSWORD=\"${BANK_EXCHANGE_PASSWORD}\"" >>config/internal.conf @@ -66,6 +60,12 @@ if test -z "${PROTO:-}"; then echo "PROTO=$PROTO">>config/internal.conf fi +# Check if the user is root, otherwise EXIT. +check_user + +# Installation of deb packages required +. install_packages.sh + config_services # Final message to the user