diff options
author | MS <ms@taler.net> | 2023-12-05 14:30:24 +0100 |
---|---|---|
committer | MS <ms@taler.net> | 2023-12-05 14:30:55 +0100 |
commit | b8f2621e967117ce5ca5d40496fd10a573551840 (patch) | |
tree | 97b1862aab8acced7ae1eb8f527454d0adffc74e | |
parent | 552d8841b691a8dca2ee0beb705cfe1d3e3ec111 (diff) | |
download | deployment-b8f2621e967117ce5ca5d40496fd10a573551840.tar.gz deployment-b8f2621e967117ce5ca5d40496fd10a573551840.tar.bz2 deployment-b8f2621e967117ce5ca5d40496fd10a573551840.zip |
move installation before software usage
-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 a29c3c0..23898ef 100755 --- a/netzbon/main.sh +++ b/netzbon/main.sh @@ -30,6 +30,12 @@ ask_questions # END USER INTERACTION +# Check if the user is root, otherwise EXIT. +check_user + +# Installation of deb packages required +. install_packages.sh + # Check DNS settings if ! ping -c1 "exchange.${DOMAIN_NAME}" &>/dev/null; then say "Could not ping exchange.${DOMAIN_NAME}." @@ -60,12 +66,6 @@ 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 |