Files
borgBackup-Docker/entrypoint-script/variables.sh
T
daniel156161 0609c7fedc
Build and Push Docker Container / build-and-push (push) Successful in 1m8s
add docker-cli and set correct column lengh in terminal
2026-04-17 08:40:33 +02:00

23 lines
595 B
Bash

DOCKER_IMAGE_VERSION="3.0.0"
BORG_VERSION=$(borg -V)
SSH_FOLDERS=( "/sshkeys/clients" "/sshkeys/host" )
NODE_EXPORTER_DIR="/var/log"
COLUMNS="86"
###############################################################################
# Funktionen
###############################################################################
function sepurator {
if [ -n "${2:-}" ]; then
local end="$2"
else
local end
end=$(tput cols 2>/dev/null || echo "${COLUMNS:-80}")
fi
local start=1
local str="${1:-=}"
local range=$(seq $start $end)
for i in $range ; do echo -n "${str}"; done
echo;
}