30 min delay for mail.sh

This commit is contained in:
Hartmut Bauer committed 2025-08-16 13:13:53 +02:00
1 parent eaab960133
commit c89cfe66e9
4 files changed
+163 -18

No files matched your search

+10 -1
View File
@@ -3,6 +3,8 @@
# entrypoint for all actions
#
# 2.3.1. 16.08.2025 - 30 min delay for mail.sh
# 2.3.0 12.08.2025 - new function for backup & encryption of Proton exports
# 2.2.4 30.07.2025 - inc delay (again) for container startup-check (2m)
# 2.2.3 24.06.2025 - Export-Disk kann exfat- oder vfat-formatiert sein,
# Export-Disk mit mehreren Partitonen erkennen
@@ -22,7 +24,7 @@
# 2.1.7 29.04.2025 - 1. Schritt zur Umstellung auf podman
# 2.1.6 29.04.2025 - weekly backup Sa->SO
VER="2.2.4"
VER="2.3.1"
HERE=$(dirname "$0")
THIS_SCRIPT=$0
@@ -38,6 +40,7 @@ show_help() {
echo " show contents of archive (path from $NAS_ROOT)"
echo ' -r, --restore <archive> <file(s)> '
echo " restore files from archive to $RESTORE_PATH"
echo " -p, --proton backup and encrypt Proton exports (MacBook only)"
echo " -h, -?. --help show this help"
echo " "
echo " -d, -w, -e must be run as superuser."
@@ -133,6 +136,12 @@ while :; do
do_restore $@
break
;;
-p|--proton)
MAIL_LOG_FILE="${log_file_name}.proton.log"
check_mac
proton_backup
break
;;
--) # End of all options.
shift
break