summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Hadaway <raker@gentoo.org>2002-07-26 20:01:42 +0000
committerNick Hadaway <raker@gentoo.org>2002-07-26 20:01:42 +0000
commit62f995e403965f3d354fe1c8270c6a8714881d05 (patch)
tree408e869f55778675fa169f105e58671419ebfc5f /net-analyzer/nessus-core
parentSplit out the "nessus" ebuild to the individual nessues components ... (diff)
downloadgentoo-2-62f995e403965f3d354fe1c8270c6a8714881d05.tar.gz
gentoo-2-62f995e403965f3d354fe1c8270c6a8714881d05.tar.bz2
gentoo-2-62f995e403965f3d354fe1c8270c6a8714881d05.zip
Adding missing initscript
Diffstat (limited to 'net-analyzer/nessus-core')
-rw-r--r--net-analyzer/nessus-core/files/nessusd-r626
1 files changed, 26 insertions, 0 deletions
diff --git a/net-analyzer/nessus-core/files/nessusd-r6 b/net-analyzer/nessus-core/files/nessusd-r6
new file mode 100644
index 000000000000..a204761d3e95
--- /dev/null
+++ b/net-analyzer/nessus-core/files/nessusd-r6
@@ -0,0 +1,26 @@
+#!/sbin/runscript
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nessus-core/files/nessusd-r6,v 1.1 2002/07/26 20:01:42 raker 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
+ eend $?
+}
+
+
+