add new seperateor and add wget

This commit is contained in:
2022-11-26 12:09:30 +01:00
parent 5908be219a
commit 5b30848e82
4 changed files with 21 additions and 2 deletions
+12 -1
View File
@@ -2,9 +2,20 @@ DOCKER_IMAGE_VERSION="2.0.0"
BORG_VERSION=$(borg -V)
SSH_FOLDERS=( "/sshkeys/clients" "/sshkeys/host" )
NODE_EXPORTER_DIR="/logs"
COLUMNS="86"
##############################################################################################################################
# Funktionen
##############################################################################################################################
function sepurator {
echo "======================================================================================"
if [ ! -z "$2" ]; then
local end="$2"
else
local end="$COLUMNS"
fi
local start=1
local str="${1:-=}"
local range=$(seq $start $end)
for i in $range ; do echo -n "${str}"; done
echo;
}