diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2010-10-31 09:07:13 +0100 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2010-10-31 09:07:13 +0100 |
commit | 3a8478e9512f1518c88ea332aacde904d948c4d2 (patch) | |
tree | 5628e0c173dbc2136fd85d1d86c4aceb225a3453 | |
parent | 180d05b3ecc83c752b067611330edcd3567201f9 (diff) | |
download | speichersau-3a8478e9512f1518c88ea332aacde904d948c4d2.tar.gz speichersau-3a8478e9512f1518c88ea332aacde904d948c4d2.tar.xz speichersau-3a8478e9512f1518c88ea332aacde904d948c4d2.zip |
speichersau.sh: added sendmail path
-rwxr-xr-x | speichersau.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/speichersau.sh b/speichersau.sh index e9e9015..9d13888 100755 --- a/speichersau.sh +++ b/speichersau.sh @@ -1,5 +1,7 @@ #!/bin/sh +SENDMAIL="/usr/sbin/sendmail" + # /home darf nicht per nfs gemountet sein homeFS=$(mount | awk '{ if (/[[:space:]]\/home[[:space:]]/) print $5; }') if [ "$homeFS" == "nfs" ]; then @@ -15,7 +17,7 @@ if [ $gefuellt -gt 95 ]; then fi cd /home/ -cat <<EOF | sendmail -t +cat <<EOF | ${SENDMAIL} -t To: spline@lists.spline.de From: Speichersau <speichersau@spline.de> Subject: Speichersau $(date +%U). Kalenderwoche |