From 51aff02a3d5dd359ca42745a33ba12d2f5440a6a Mon Sep 17 00:00:00 2001 From: TechHome Date: Sun, 14 Jun 2020 14:37:59 +0200 Subject: [PATCH] Added "automatic" mode --- prox_config_backup.sh | 38 ++++++++++++++++++++++++++++++++++++-- 1 file changed, 36 insertions(+), 2 deletions(-) diff --git a/prox_config_backup.sh b/prox_config_backup.sh index 99506ce..a4f4952 100644 --- a/prox_config_backup.sh +++ b/prox_config_backup.sh @@ -2,10 +2,12 @@ # Version 0.2.2 - BETA ! ! # Date 28.05.2020 # Author DerDanilo -# Contributors aboutte, xmirakulix, bootsie123 +# Contributors aboutte, xmirakulix, bootsie123, TechHome # set vars +SILENT=${1} + # always exit on error set -e @@ -40,6 +42,8 @@ _filename4="$_tdir/proxmox_backup_"$_HOSTNAME"_"$_now".tar.gz" ########## +if [ "$SILENT" != "-a" ] +then function description { clear cat <