summaryrefslogtreecommitdiff
path: root/network/openvas-manager/rc.openvasmd
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-16 11:22:33 -0400
committerdsomero <xgizzmo@slackbuilds.org>2012-09-16 19:42:58 -0400
commitd8dc64fa8e27dafe7a3d46358cda6b66061a21a0 (patch)
tree4609a67c32b4041b25ad27e9af38c183bd784c02 /network/openvas-manager/rc.openvasmd
parent53bbfd4a001380f2f38d79a90f9c0acf4ae09356 (diff)
downloadslackbuilds-d8dc64fa8e27dafe7a3d46358cda6b66061a21a0.tar.gz
network/openvas-manager: Removed (FTBFS)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'network/openvas-manager/rc.openvasmd')
-rw-r--r--network/openvas-manager/rc.openvasmd53
1 files changed, 0 insertions, 53 deletions
diff --git a/network/openvas-manager/rc.openvasmd b/network/openvas-manager/rc.openvasmd
deleted file mode 100644
index 9a97889cab..0000000000
--- a/network/openvas-manager/rc.openvasmd
+++ /dev/null
@@ -1,53 +0,0 @@
-#!/bin/sh
-
-# Get OpenVAS options
-. /etc/rc.d/rc.openvas.conf
-
-PIDFILE="/var/run/openvasmd.pid"
-
-start() {
- echo "Starting OpenVAS manager..."
- openvasmd --port=${MAN_PORT} --sport=${SCA_PORT} ${MAN_OPTIONS}
-}
-
-stop() {
- echo "Stopping OpenVAS manager..."
- kill $(cat $PIDFILE)
-}
-
-update() {
- openvasmd --sport=${SCA_PORT} --update
-}
-
-rebuild() {
- openvasmd --sport=${SCA_PORT} --rebuild
-}
-
-migrate() {
- openvasmd --sport=${SCA_PORT} --migrate
-}
-
-case "$1" in
- start)
- start
- ;;
- stop)
- stop
- ;;
- restart)
- stop
- sleep 1
- start
- ;;
- update)
- update
- ;;
- rebuild)
- rebuild
- ;;
- migrate)
- migrate
- ;;
- *)
- echo "Usage: $0 (start|stop|restart|update|rebuild|migrate)"
-esac