Checkout for mails in personal inbox, not root's
tripwire mails are forwarded to my personal inbox, check there.
This commit is contained in:
parent
86ad65f88b
commit
7836ff0eef
|
@ -15,7 +15,7 @@ function encode-with-ffmpeg() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function run-apt-upgrade() {
|
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
|
local host=$1
|
||||||
|
|
||||||
if [[ -z $host ]]; then
|
if [[ -z $host ]]; then
|
||||||
|
|
Loading…
Reference in New Issue