#!/bin/sh # chkconfig: 3 80 30 # description: CLAMD case "$1" in start) echo -n "Starting ClamAV Daemon: " /usr/local/sbin/clamd ;; stop) echo -n "Shutting down ClamAV Daemon: " killall clamd ;; restart) $0 stop $0 start ;; *) echo -n "Usage: $0 {start|stop|restart" exit 1 esac exit 0