summaryrefslogtreecommitdiff
path: root/network/openvas-scanner/rc.openvassd
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-16 11:16:30 -0400
committerdsomero <xgizzmo@slackbuilds.org>2012-09-16 19:42:58 -0400
commit50980bad0c33c9146ebd3f574230a91a3b0ead9c (patch)
treef810685fc5e7b7132c36de3d3d32a9d64f9a79ae /network/openvas-scanner/rc.openvassd
parentbfcae663de5e52aef2e39febc8a7b3281b6c1d14 (diff)
downloadslackbuilds-50980bad0c33c9146ebd3f574230a91a3b0ead9c.tar.gz
network/openvas-scanner: Removed (FTBFS)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'network/openvas-scanner/rc.openvassd')
-rw-r--r--network/openvas-scanner/rc.openvassd32
1 files changed, 0 insertions, 32 deletions
diff --git a/network/openvas-scanner/rc.openvassd b/network/openvas-scanner/rc.openvassd
deleted file mode 100644
index 1e13df9951..0000000000
--- a/network/openvas-scanner/rc.openvassd
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/sh
-
-# Get OpenVAS options
-. /etc/rc.d/rc.openvas.conf
-
-PIDFILE="/var/run/openvassd.pid"
-
-start() {
- echo "Starting OpenVAS scanner..."
- openvassd --port=${SCA_PORT} ${SCA_OPTIONS}
-}
-
-stop() {
- echo "Stopping OpenVAS scanner..."
- kill `cat $PIDFILE`
-}
-
-case "$1" in
- start)
- start
- ;;
- stop)
- stop
- ;;
- restart)
- stop
- sleep 1
- start
- ;;
- *)
- echo "Usage: $0 (start|stop|restart)"
-esac