summaryrefslogtreecommitdiffstats
path: root/net-analyzer/openvas-scanner/files/openvasd
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-09-02 05:23:45 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-09-02 05:23:45 +0200
commit576b6208d6defe240bfa2477d6dd19f1ed83bfaf (patch)
tree7d54883f16cccc4cbd414398d7fec3c437b36b49 /net-analyzer/openvas-scanner/files/openvasd
parentfdd6b67a78a966f6a2131de8fe0e539316511083 (diff)
downloaddarklin4-576b6208d6defe240bfa2477d6dd19f1ed83bfaf.tar.gz
darklin4-576b6208d6defe240bfa2477d6dd19f1ed83bfaf.tar.bz2
darklin4-576b6208d6defe240bfa2477d6dd19f1ed83bfaf.tar.xz
darklin4-576b6208d6defe240bfa2477d6dd19f1ed83bfaf.zip
Cleaned most of outdated stuff
Diffstat (limited to 'net-analyzer/openvas-scanner/files/openvasd')
-rw-r--r--net-analyzer/openvas-scanner/files/openvasd27
1 files changed, 0 insertions, 27 deletions
diff --git a/net-analyzer/openvas-scanner/files/openvasd b/net-analyzer/openvas-scanner/files/openvasd
deleted file mode 100644
index 0883487..0000000
--- a/net-analyzer/openvas-scanner/files/openvasd
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header:
-
-depend() {
- need net
-}
-
-start() {
- ebegin "Starting openvassd"
- start-stop-daemon --start --quiet -n openvassd --exec /usr/sbin/openvassd -- --quiet
- eend $?
-}
-
-stop() {
- ebegin "Stop openvassd"
- start-stop-daemon --stop --quiet -n openvassd
-
- einfo "Waiting for the environment to be sane"
- RUNNING=$(ps aux | grep -m 1 openvassd: | grep -v grep)
- while [ -n "$RUNNING" ] ; do
- sleep 1
- RUNNING=$(ps aux | grep -m 1 openvassd: | grep -v grep)
- done
- eend $?
-}