# stiahnut, rozbalit…
groupadd clamav useradd -g clamav -s /bin/false -c “Clam AntiVirus” clamav
./configure make make install
# Konfiguraky to ma v /usr/local/etc/ # zrusit to Example na zaciatku clamav.conf
# v Slackwari zrobit fajl /etc/rc.d/rc.clamd #!/bin/sh # ## Slackware init script for clamd ## 20030828 Manolis Tzanidakis #
clamd_start() {
if [ -x /usr/local/sbin/clamd ]; then echo "Starting clamd daemon" /usr/local/sbin/clamd fi
}
clamd_stop() {
echo "Stopping clamd daemon" killall clamd
}
clamd_restart() {
clamd_stop clamd_start
}
case “$1” in
'start') clamd_start ;; 'stop') clamd_stop ;; 'restart') clamd_restart ;; *) echo "usage $0 start|stop|restart"
esac