diff options
author | MS <ms@taler.net> | 2023-12-04 23:30:25 +0100 |
---|---|---|
committer | MS <ms@taler.net> | 2023-12-04 23:32:03 +0100 |
commit | 8b4af5f0265e487971b475413b169d13f28ea1be (patch) | |
tree | 49d1377ef99843ebd7ce992e12e4947e0fca0440 | |
parent | bb344cf64c34499b94828016c4fc17a300ef7059 (diff) | |
download | deployment-8b4af5f0265e487971b475413b169d13f28ea1be.tar.gz deployment-8b4af5f0265e487971b475413b169d13f28ea1be.tar.bz2 deployment-8b4af5f0265e487971b475413b169d13f28ea1be.zip |
grouping env logic
-rwxr-xr-x | netzbon/main.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/netzbon/main.sh b/netzbon/main.sh index 585cf34..a29c3c0 100755 --- 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 |