From bd781da7705748e71940a8063e92bad7314bd9e2 Mon Sep 17 00:00:00 2001 From: Gregory Colpart Date: Sun, 22 May 2011 23:57:35 +0200 Subject: [PATCH] Amelioration du test $IS_EVOMAINTENANCECONF --- evocheck.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/evocheck.sh b/evocheck.sh index fcc8f51..9a4ee60 100755 --- a/evocheck.sh +++ b/evocheck.sh @@ -224,9 +224,7 @@ fi # Verification de la configuration d'evomaintenance if [ "$IS_EVOMAINTENANCECONF" = 1 ]; then f=/etc/evomaintenance.cf - ( grep -q "^HOSTNAME=`hostname`$" $f \ - && grep "^export PGPASSWORD" $f |grep -qv "your-passwd" \ - && grep "^EVOMAINTMAIL" $f |grep -qv "evomaintenance-your-host@example.com" \ + ( grep "^export PGPASSWORD" $f |grep -qv "your-passwd" \ && grep "^PGDB" $f |grep -qv "your-db" \ && grep "^PGTABLE" $f |grep -qv "your-table" \ && grep "^PGHOST" $f |grep -qv "your-pg-host" \