diff options
author | Erich Eckner <git@eckner.net> | 2019-10-10 10:01:58 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-10-10 10:01:58 +0200 |
commit | 5def1d7cdb25d9351b539b55aadf2caa4d6a7623 (patch) | |
tree | 1231682edd27e0531f13f042fa88da2686c32fda /sendmailadvanced.hook | |
parent | a8970e591e29abe8aee3b5dfa6b93edbc6527e72 (diff) | |
download | hardlinkedBackups-5def1d7cdb25d9351b539b55aadf2caa4d6a7623.tar.xz |
sendmailadvanced.hook neu
Diffstat (limited to 'sendmailadvanced.hook')
-rwxr-xr-x | sendmailadvanced.hook | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/sendmailadvanced.hook b/sendmailadvanced.hook new file mode 100755 index 0000000..3492399 --- /dev/null +++ b/sendmailadvanced.hook @@ -0,0 +1,18 @@ +#!/bin/sh + +case "$1" in + 'head') + : + ;; + 'foot') + echo '----------------------- Last Backups Begin -------------------------' + echo + last-backups + echo + echo '------------------------ Last Backups End --------------------------' + ;; + *) + >&2 printf 'usage: %s head|foot\n' "${0##*/}" + exit 1 + ;; +esac |