diff options
author | Matt Housh <jaeger@crux.nu> | 2006-10-24 15:36:15 -0500 |
---|---|---|
committer | Matt Housh <jaeger@crux.nu> | 2006-10-24 15:36:15 -0500 |
commit | 1447692c84b7d0429e4de41e70e1f84a1a55e183 (patch) | |
tree | d3228f3960d9f7fcfbb6e2c88faa798c87ee29ed /clamav/clamd | |
parent | e4d2dbda6ba0d3a9c0bb0d58255b65db80932737 (diff) | |
download | contrib-1447692c84b7d0429e4de41e70e1f84a1a55e183.tar.gz contrib-1447692c84b7d0429e4de41e70e1f84a1a55e183.tar.xz |
initial import of my contrib ports
Diffstat (limited to 'clamav/clamd')
-rw-r--r-- | clamav/clamd | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/clamav/clamd b/clamav/clamd new file mode 100644 index 000000000..8934f81b7 --- /dev/null +++ b/clamav/clamd @@ -0,0 +1,23 @@ +#!/bin/sh +# +# /etc/rc.d/clamd: start/stop clam antivirus daemon +# + +case $1 in +start) + /usr/sbin/clamd + ;; +stop) + killall -q /usr/sbin/clamd + ;; +restart) + $0 stop + sleep 2 + $0 start + ;; +*) + echo "Usage: $0 [start|stop|restart]" + ;; +esac + +# End of file |