summaryrefslogtreecommitdiff
path: root/net-analyzer/nessus-core/files/nessusd-r7
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/nessus-core/files/nessusd-r7')
-rw-r--r--net-analyzer/nessus-core/files/nessusd-r726
1 files changed, 0 insertions, 26 deletions
diff --git a/net-analyzer/nessus-core/files/nessusd-r7 b/net-analyzer/nessus-core/files/nessusd-r7
deleted file mode 100644
index 057a6d6..0000000
--- a/net-analyzer/nessus-core/files/nessusd-r7
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nessus-core/files/nessusd-r7,v 1.1 2005/01/26 11:06:56 angusyoung Exp $
-
-depend() {
- need net
-}
-
-start() {
- ebegin "Starting nessusd"
- start-stop-daemon --start --quiet --exec /usr/sbin/nessusd -- -D
- eend $?
-}
-
-stop() {
- ebegin "Stop nessusd"
- start-stop-daemon --stop --quiet --exec /usr/sbin/nessusd
- einfo "Waiting for the environment to be sane"
- while [ -n "$RUNNING" ] ; do
- sleep 1
- RUNNING=$(ps aux | grep -m 1 nessusd: | grep -v grep)
- done
- sleep 3
- eend $?
-}