Update clamav properly and initialize the database, related to #18
parent
ddd20df866
commit
77f40de5a9
@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Bootstrap the database if clamav is running for the first time
|
||||
[ -f /data/main.cvd ] || freshclam
|
||||
|
||||
# Run the update daemon
|
||||
freshclam -d -c 6
|
||||
|
||||
# Run clamav
|
||||
clamd
|
Loading…
Reference in New Issue