From 5def1d7cdb25d9351b539b55aadf2caa4d6a7623 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 10 Oct 2019 10:01:58 +0200 Subject: sendmailadvanced.hook neu --- sendmailadvanced.hook | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 sendmailadvanced.hook (limited to 'sendmailadvanced.hook') 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 -- cgit v1.2.3-54-g00ecf