Fix clamav initskript & incrase time for pattern download

This commit is contained in:
Arne Fitzenreiter
2008-11-29 12:01:48 +01:00
parent 3b5afaed9b
commit 0cd466ee4e
2 changed files with 2 additions and 3 deletions

View File

@@ -11,9 +11,9 @@ case "$1" in
boot_mesg "Starting Clamav Daemon..."
COUNTER=0
while [ "$COUNTER" -lt "10" ]; do
while [ "$COUNTER" -lt "30" ]; do
[ -e "/usr/share/clamav/main.cvd" ] && \
[ -e "/usr/share/clamav/daily.cvd" ] && \
[ -e "/usr/share/clamav/daily.cld" ] && \
break
sleep 5
COUNTER=$(($COUNTER + 1))