Amelioration du test $IS_EVOMAINTENANCECONF
This commit is contained in:
parent
0edf60489f
commit
bd781da770
|
@ -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" \
|
||||
|
|
Loading…
Reference in a new issue