]> arthur.barton.de Git - backup-script.git/blob - bin/backup-script-wrapper
Initial commit
[backup-script.git] / bin / backup-script-wrapper
1 #!/bin/sh
2
3 MAILTO="logcheck"
4
5 NAME="backup-script"
6 HOST=`hostname`
7 TMP="/tmp/$NAME.$$"
8
9 backup-script $* >$TMP 2>&1
10
11 cat $TMP | mail -s "$HOST: $NAME results" "$MAILTO"
12
13 rm -f $TMP
14
15 # -eof-