diff options
author | Ned Ludd <solar@gentoo.org> | 2003-06-21 17:16:15 +0000 |
---|---|---|
committer | Ned Ludd <solar@gentoo.org> | 2003-06-21 17:16:15 +0000 |
commit | 5ff1430da36056d81a5f5a921d53982675c6eea8 (patch) | |
tree | 6eb2b693d01cbca110d1bb8e4153dcf25276901b /net-analyzer/prelude-nids/files | |
parent | Added initial prelude-nids (diff) | |
download | gentoo-2-5ff1430da36056d81a5f5a921d53982675c6eea8.tar.gz gentoo-2-5ff1430da36056d81a5f5a921d53982675c6eea8.tar.bz2 gentoo-2-5ff1430da36056d81a5f5a921d53982675c6eea8.zip |
Added initial prelude-nids
Diffstat (limited to 'net-analyzer/prelude-nids/files')
-rw-r--r-- | net-analyzer/prelude-nids/files/digest-prelude-nids-0.8.1 | 1 | ||||
-rw-r--r-- | net-analyzer/prelude-nids/files/gentoo.conf | 5 | ||||
-rw-r--r-- | net-analyzer/prelude-nids/files/gentoo.init | 23 |
3 files changed, 29 insertions, 0 deletions
diff --git a/net-analyzer/prelude-nids/files/digest-prelude-nids-0.8.1 b/net-analyzer/prelude-nids/files/digest-prelude-nids-0.8.1 new file mode 100644 index 000000000000..8c402c395ac6 --- /dev/null +++ b/net-analyzer/prelude-nids/files/digest-prelude-nids-0.8.1 @@ -0,0 +1 @@ +MD5 ffaa17e6694f12b8d5ede91c1fbdf22d prelude-nids-0.8.1.tar.gz 658730 diff --git a/net-analyzer/prelude-nids/files/gentoo.conf b/net-analyzer/prelude-nids/files/gentoo.conf new file mode 100644 index 000000000000..febe0ee4c4b4 --- /dev/null +++ b/net-analyzer/prelude-nids/files/gentoo.conf @@ -0,0 +1,5 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 + +# Additional Configuration Options for prelude-nids +OPTIONS="-i eth0" diff --git a/net-analyzer/prelude-nids/files/gentoo.init b/net-analyzer/prelude-nids/files/gentoo.init new file mode 100644 index 000000000000..df59bd077de3 --- /dev/null +++ b/net-analyzer/prelude-nids/files/gentoo.init @@ -0,0 +1,23 @@ +#!/sbin/runscript +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/prelude-nids/files/gentoo.init,v 1.1 2003/06/21 17:16:05 solar Exp $ + +PROGNAME=`basename $1` + +depend() { + need net + after prelude-manager +} + +start() { + ebegin "Starting ${PROGNAME}..." + start-stop-daemon --start --quiet --exec /usr/bin/${PROGNAME} -- ${OPTIONS} -d + eend $? +} + +stop() { + ebegin "Stop ${PROGNAME}..." + start-stop-daemon --stop --quiet --exec /usr/bin/${PROGNAME} + eend $? +} |