Fixed missing parameter, was calling to a fixed path

This commit is contained in:
Sancho Lerena 2014-10-07 15:54:26 +02:00
parent 750462e82d
commit 8e6e7cf701
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ then
cat /dev/null > $OUTPUT cat /dev/null > $OUTPUT
echo "#Pandora FMS Integrity Check generated at $HUMANDATE at `hostname` by $USER" >> $OUTPUT echo "#Pandora FMS Integrity Check generated at $HUMANDATE at `hostname` by $USER" >> $OUTPUT
echo "Creating integrity check of Pandora FMS Console files" echo "Creating integrity check of Pandora FMS Console files"
for ax in `find /var/www/pandora_console/ -name "*.php" -o -name "*.js" -o -name "*.css" -o -name "*.sql"` for ax in `find $CONSOLE_PATH -name "*.php" -o -name "*.js" -o -name "*.css" -o -name "*.sql"`
do do
bx=`md5sum $ax` bx=`md5sum $ax`
echo $bx >>$OUTPUT echo $bx >>$OUTPUT