From e63e776ab6754855dd8e56254d1769cae17fcda0 Mon Sep 17 00:00:00 2001 From: krempp Date: Fri, 16 Jun 2000 22:05:23 +0200 Subject: [PATCH] ajout une premiere liste rapide, des fichiers non-Up-to-date. darcs-hash:20000616200523-92525-f6071caef4bf064b4ac8523d68f7e8347464bc86.gz --- mailWarn_dirtyEtc.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/mailWarn_dirtyEtc.sh b/mailWarn_dirtyEtc.sh index 0529402d..197bc83d 100755 --- a/mailWarn_dirtyEtc.sh +++ b/mailWarn_dirtyEtc.sh @@ -15,7 +15,12 @@ echo "-------------------------------" ) > $tempF 2>&1 cd /etc -/usr/bin/cvs -q -d /usr/cvs-rep status | grep -A8 Locally > $tempF2 +/usr/bin/cvs -q -d /usr/cvs-rep status /etc/ /usr/scripts/ >$tempF3 +grep "Status" $tempF3 |grep -v "Up-to-date" >$tempF2 + +echo -ne "\nDetails des Locally modified files\n" >>$tempF2 +echo -ne "----------------------------------\n" >>$tempF2 +grep -A8 "Locally" $tempF3 >> $tempF2 if test -n "$1"; then test -s $tempF2 && cat $tempF $tempF2 | sendmail "$1";