summaryrefslogtreecommitdiff
path: root/security/drweb/files
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2001-08-24 15:42:40 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2001-08-24 15:42:40 +0000
commitf8933946ee2e7b01fe1789c030f98bf9db16207e (patch)
tree033a24cd0d5e6bac77a9f5d830a0973e30e02574 /security/drweb/files
parentConditionalize the dependency on bzip2. (diff)
DrWeb antivirus, FreeBSD binary
Notes
Notes: svn path=/head/; revision=46799
Diffstat (limited to 'security/drweb/files')
-rw-r--r--security/drweb/files/drwebd.sh24
1 files changed, 24 insertions, 0 deletions
diff --git a/security/drweb/files/drwebd.sh b/security/drweb/files/drwebd.sh
new file mode 100644
index 000000000000..df49b1c5f44f
--- /dev/null
+++ b/security/drweb/files/drwebd.sh
@@ -0,0 +1,24 @@
+#!/bin/sh
+#
+# $FreeBSD$
+
+drwebd='!!PREFIX!!/drwebd'
+
+case "$1" in
+start)
+ if [ -x $drwebd ]; then
+ echo -n ' drwebd'
+ $drwebd
+ fi
+ ;;
+stop)
+ /usr/bin/killall drwebd
+ echo -n ' drwebd'
+ ;;
+*)
+ echo "Usage: `basename $0` {start|stop}" >&2
+ exit 64
+ ;;
+esac
+
+exit 0