aboutsummaryrefslogtreecommitdiff
path: root/network/greenbone-security-assistant/rc.gsad
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-16 11:25:30 -0400
committerdsomero <xgizzmo@slackbuilds.org>2012-09-16 19:42:59 -0400
commit9b68689763bf19dabe4e33e2d69d3bddd81f34ea (patch)
treed264ab5f3ab04031823b9b527e970d1d7c3c1eb1 /network/greenbone-security-assistant/rc.gsad
parentfa1066b368727c43c553d2383a8f0cf740fecde3 (diff)
network/greenbone-security-assistant: Removed (FTBFS)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'network/greenbone-security-assistant/rc.gsad')
-rw-r--r--network/greenbone-security-assistant/rc.gsad32
1 files changed, 0 insertions, 32 deletions
diff --git a/network/greenbone-security-assistant/rc.gsad b/network/greenbone-security-assistant/rc.gsad
deleted file mode 100644
index d97a5ba2f6782..0000000000000
--- a/network/greenbone-security-assistant/rc.gsad
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/sh
-
-# Get OpenVAS options
-. /etc/rc.d/rc.openvas.conf
-
-PIDFILE="/var/run/gsad.pid"
-
-start() {
- echo "Starting Greenbone Security Assistant..."
- gsad --mport=${MAN_PORT} ${GSA_OPTIONS}
-}
-
-stop() {
- echo "Stopping Greenbone Security Assistant..."
- kill $(cat $PIDFILE)
-}
-
-case "$1" in
- start)
- start
- ;;
- stop)
- stop
- ;;
- restart)
- stop
- sleep 1
- start
- ;;
- *)
- echo "Usage: $0 (start|stop|restart)"
-esac