From 7836ff0eef66add978d86a60449edcad79b417aa Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sun, 12 Jun 2022 11:51:37 +0200 Subject: [PATCH] Checkout for mails in personal inbox, not root's tripwire mails are forwarded to my personal inbox, check there. --- config/bash/scripts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/bash/scripts.sh b/config/bash/scripts.sh index 2cc9a7f..8632798 100755 --- a/config/bash/scripts.sh +++ b/config/bash/scripts.sh @@ -15,7 +15,7 @@ function encode-with-ffmpeg() { } function run-apt-upgrade() { - local upgrade_seq='sudo systemd-inhibit --what=shutdown:idle:sleep /bin/bash -c "mail && apt clean && apt update && apt upgrade && apt autoremove && tripwire --check --interactive"' + local upgrade_seq='mail && echo "Starting update" && sudo systemd-inhibit --what=shutdown:idle:sleep /bin/bash -c "apt clean && apt update && apt upgrade && apt autoremove && tripwire --check --interactive"' local host=$1 if [[ -z $host ]]; then