CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
dropbear: moved from core collection
[attic/ports/opt-cross.git] / clamav / freshclam
1 #!/bin/sh
2 #
3 # /etc/rc.d/freshclam: start/stop the clamav virus database updater
4 #
5
6 case $1 in
7 start)
8 /usr/bin/freshclam --quiet --daemon --checks=1 --daemon-notify \
9 --log=/var/log/clamav/freshclam.log
10 ;;
11 stop)
12 killall -q /usr/bin/freshclam
13 ;;
14 restart)
15 $0 stop
16 sleep 2
17 $0 start
18 ;;
19 *)
20 echo "Usage: $0 [start|stop|restart]"
21 ;;
22 esac
23
24 # End of file