]>
git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - src/initscripts/init.d/clamav
2 # Begin $rc_base/init.d/clamav
9 boot_mesg
"Starting Clamav Definition Updater..."
10 loadproc
/usr
/bin
/freshclam
-d -c 10
12 boot_mesg
"Starting Clamav Daemon..."
14 while [ "$COUNTER" -lt "10" ]; do
15 [ -e "/usr/share/clamav/main.cvd" ] && \
16 [ -e "/usr/share/clamav/daily.cvd" ] && \
21 loadproc
/usr
/sbin
/clamd
25 boot_mesg
"Stopping Clamav Definition Updater..."
26 killproc
/usr
/bin
/freshclam
28 boot_mesg
"Stopping Clamav Daemon..."
29 killproc
/usr
/sbin
/clamd
39 statusproc
/usr
/sbin
/clamd
40 statusproc
/usr
/bin
/freshclam
44 echo "Usage: $0 {start|stop|restart|status}"
49 # End $rc_base/init.d/clamav