From f48019eaef7bb6ca256d391a51401fc3c9728d58 Mon Sep 17 00:00:00 2001 From: Anton Bobov Date: Thu, 14 Sep 2023 23:16:58 +0500 Subject: Updates --- d-backup | 92 +++++++++++++++++++++++++++++++--------------------------- pit-run | 2 +- through-vpn.sh | 4 +-- 3 files changed, 52 insertions(+), 46 deletions(-) diff --git a/d-backup b/d-backup index 14906d4..a6900e5 100755 --- a/d-backup +++ b/d-backup @@ -7,9 +7,9 @@ # TARGET="sftp://server/path" # ---------------- 8< -------------------- -if [ ! "$(whoami)" = root ] ; then - echo "This script must be run by the user: root" - exit 1 +if [ ! "$(whoami)" = root ]; then + echo "This script must be run by the user: root" + exit 1 fi HOME=/home/anton @@ -20,7 +20,7 @@ source "$HOME/.duplicity.conf" SOURCE=/ print_help() { - cat <