mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-14 21:12:59 +02:00
Fix clamav initskript & incrase time for pattern download
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user