From 3a8478e9512f1518c88ea332aacde904d948c4d2 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Sun, 31 Oct 2010 09:07:13 +0100 Subject: speichersau.sh: added sendmail path --- speichersau.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 < Subject: Speichersau $(date +%U). Kalenderwoche -- cgit v1.2.3