diff options
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/arpwatch/files/arpwatch.init | 5 | ||||
-rw-r--r-- | net-analyzer/barnyard/files/barnyard.rc6 | 6 | ||||
-rw-r--r-- | net-analyzer/ipac-ng/files/ipac-ng.rc | 6 | ||||
-rw-r--r-- | net-analyzer/ipac-ng/files/ipac-ng.rc.1.27_p1-r2 | 6 | ||||
-rw-r--r-- | net-analyzer/iplog/files/iplog.rc6 | 6 | ||||
-rw-r--r-- | net-analyzer/ippl/files/ippl.rc | 8 | ||||
-rw-r--r-- | net-analyzer/nagios-core/files/nagios | 5 | ||||
-rw-r--r-- | net-analyzer/nessus-core/files/nessusd-r6 | 24 | ||||
-rw-r--r-- | net-analyzer/p0f/files/p0f-1.8.2.rc | 7 | ||||
-rw-r--r-- | net-analyzer/portmon/files/portmon.init | 28 | ||||
-rw-r--r-- | net-analyzer/portsentry/files/portsentry.rc6 | 7 | ||||
-rw-r--r-- | net-analyzer/prelude-nids/files/gentoo.init | 8 | ||||
-rw-r--r-- | net-analyzer/scanlogd/files/scanlogd.rc | 6 | ||||
-rw-r--r-- | net-analyzer/snort/files/snort.rc6 | 6 | ||||
-rw-r--r-- | net-analyzer/traffic-vis/files/traffic-vis.init.d | 18 |
15 files changed, 69 insertions, 77 deletions
diff --git a/net-analyzer/arpwatch/files/arpwatch.init b/net-analyzer/arpwatch/files/arpwatch.init index 327753a3b136..1cb45c608437 100644 --- a/net-analyzer/arpwatch/files/arpwatch.init +++ b/net-analyzer/arpwatch/files/arpwatch.init @@ -1,6 +1,7 @@ #!/sbin/runscript -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/arpwatch/files/arpwatch.init,v 1.4 2004/03/04 18:56:48 vapier Exp $ depend() { need net diff --git a/net-analyzer/barnyard/files/barnyard.rc6 b/net-analyzer/barnyard/files/barnyard.rc6 index 81e1e88e8289..a64b35147b69 100644 --- a/net-analyzer/barnyard/files/barnyard.rc6 +++ b/net-analyzer/barnyard/files/barnyard.rc6 @@ -1,7 +1,7 @@ #!/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/barnyard/files/barnyard.rc6,v 1.1 2003/08/10 01:23:54 solar Exp $ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/barnyard/files/barnyard.rc6,v 1.2 2004/03/04 18:56:48 vapier Exp $ depend() { need net diff --git a/net-analyzer/ipac-ng/files/ipac-ng.rc b/net-analyzer/ipac-ng/files/ipac-ng.rc index 00488db75b1a..9f6eedf0bcf4 100644 --- a/net-analyzer/ipac-ng/files/ipac-ng.rc +++ b/net-analyzer/ipac-ng/files/ipac-ng.rc @@ -1,7 +1,7 @@ #!/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/ipac-ng/files/ipac-ng.rc,v 1.1 2003/09/29 02:16:00 vapier Exp $ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ipac-ng/files/ipac-ng.rc,v 1.2 2004/03/04 18:56:48 vapier Exp $ depend() { need net logger diff --git a/net-analyzer/ipac-ng/files/ipac-ng.rc.1.27_p1-r2 b/net-analyzer/ipac-ng/files/ipac-ng.rc.1.27_p1-r2 index 25d1a3bb233f..730fe8c32a4b 100644 --- a/net-analyzer/ipac-ng/files/ipac-ng.rc.1.27_p1-r2 +++ b/net-analyzer/ipac-ng/files/ipac-ng.rc.1.27_p1-r2 @@ -1,7 +1,7 @@ #!/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/ipac-ng/files/ipac-ng.rc.1.27_p1-r2,v 1.1 2004/02/28 06:55:01 mboman Exp $ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ipac-ng/files/ipac-ng.rc.1.27_p1-r2,v 1.2 2004/03/04 18:56:48 vapier Exp $ depend() { need net logger diff --git a/net-analyzer/iplog/files/iplog.rc6 b/net-analyzer/iplog/files/iplog.rc6 index b87b09ddafe5..120d8ae7e727 100644 --- a/net-analyzer/iplog/files/iplog.rc6 +++ b/net-analyzer/iplog/files/iplog.rc6 @@ -1,7 +1,7 @@ #!/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/iplog/files/iplog.rc6,v 1.2 2004/02/28 04:58:52 mboman Exp $ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/iplog/files/iplog.rc6,v 1.3 2004/03/04 18:56:48 vapier Exp $ depend() { need net diff --git a/net-analyzer/ippl/files/ippl.rc b/net-analyzer/ippl/files/ippl.rc index fba0462a466d..a08a7ae901e1 100644 --- a/net-analyzer/ippl/files/ippl.rc +++ b/net-analyzer/ippl/files/ippl.rc @@ -1,7 +1,7 @@ #!/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/ippl/files/ippl.rc,v 1.2 2003/02/14 22:57:16 vapier Exp $ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ippl/files/ippl.rc,v 1.3 2004/03/04 18:56:48 vapier Exp $ depend() { need net @@ -35,5 +35,3 @@ stop() { rm -f /var/run/ippl.pid fi } - - diff --git a/net-analyzer/nagios-core/files/nagios b/net-analyzer/nagios-core/files/nagios index 9fd262ff315c..7c050a8b136a 100644 --- a/net-analyzer/nagios-core/files/nagios +++ b/net-analyzer/nagios-core/files/nagios @@ -1,6 +1,7 @@ #!/sbin/runscript -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-core/files/nagios,v 1.4 2004/03/04 18:56:48 vapier Exp $ depend() { need net diff --git a/net-analyzer/nessus-core/files/nessusd-r6 b/net-analyzer/nessus-core/files/nessusd-r6 index b6401dee1c20..42b85ca9180a 100644 --- a/net-analyzer/nessus-core/files/nessusd-r6 +++ b/net-analyzer/nessus-core/files/nessusd-r6 @@ -1,26 +1,20 @@ #!/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/nessus-core/files/nessusd-r6,v 1.2 2003/02/14 22:57:36 vapier Exp $ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nessus-core/files/nessusd-r6,v 1.3 2004/03/04 18:59:33 vapier Exp $ depend() { need net } - start() { - - ebegin "Starting nessusd..." - start-stop-daemon --start --quiet --exec /usr/sbin/nessusd -- -D - eend $? + 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 $? + ebegin "Stop nessusd" + start-stop-daemon --stop --quiet --exec /usr/sbin/nessusd + eend $? } - - - diff --git a/net-analyzer/p0f/files/p0f-1.8.2.rc b/net-analyzer/p0f/files/p0f-1.8.2.rc index 97b7901be3ad..d115cda5712e 100644 --- a/net-analyzer/p0f/files/p0f-1.8.2.rc +++ b/net-analyzer/p0f/files/p0f-1.8.2.rc @@ -1,8 +1,7 @@ #!/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/p0f/files/p0f-1.8.2.rc,v 1.2 2003/02/14 22:57:50 vapier Exp $ - +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/p0f/files/p0f-1.8.2.rc,v 1.3 2004/03/04 19:02:51 vapier Exp $ start() { ebegin "Starting p0f" diff --git a/net-analyzer/portmon/files/portmon.init b/net-analyzer/portmon/files/portmon.init index 0cedcfc67536..9a2a5e410bbf 100644 --- a/net-analyzer/portmon/files/portmon.init +++ b/net-analyzer/portmon/files/portmon.init @@ -1,7 +1,7 @@ #!/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/portmon/files/portmon.init,v 1.1 2003/07/29 01:36:45 gregf Exp $ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/portmon/files/portmon.init,v 1.2 2004/03/04 19:02:51 vapier Exp $ # configuration is done in /etc/pormon.sh @@ -10,21 +10,21 @@ depend() { } checkconfig() { - if [ ! -e /etc/portmon/portmon.hosts ]; then - error " You need /etc/portmon/portmaon.hosts to run portmon." - return 1 - fi + if [ ! -e /etc/portmon/portmon.hosts ]; then + error " You need /etc/portmon/portmaon.hosts to run portmon." + return 1 + fi } start() { - checkconfig || return 1 - ebegin "Starting portmon" - start-stop-daemon --start --quiet --exec /usr/sbin/portmon -- -d -c /etc/portmon/portmon.hosts - eend $? + checkconfig || return 1 + ebegin "Starting portmon" + start-stop-daemon --start --quiet --exec /usr/sbin/portmon -- -d -c /etc/portmon/portmon.hosts + eend $? } stop() { - checkconfig || return 1 - ebegin "Staring portmon" - start-stop-daemon --stopt --quiet --exec /usr/sbin/portmon + checkconfig || return 1 + ebegin "Staring portmon" + start-stop-daemon --stopt --quiet --exec /usr/sbin/portmon } diff --git a/net-analyzer/portsentry/files/portsentry.rc6 b/net-analyzer/portsentry/files/portsentry.rc6 index b594ac7dc663..3d67607daa59 100644 --- a/net-analyzer/portsentry/files/portsentry.rc6 +++ b/net-analyzer/portsentry/files/portsentry.rc6 @@ -1,11 +1,10 @@ #!/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/portsentry/files/portsentry.rc6,v 1.2 2003/02/14 22:57:56 vapier Exp $ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/portsentry/files/portsentry.rc6,v 1.3 2004/03/04 19:04:44 vapier Exp $ # NB: Config is in /etc/conf.d/portsentry - depend() { need net } diff --git a/net-analyzer/prelude-nids/files/gentoo.init b/net-analyzer/prelude-nids/files/gentoo.init index ce03c9fc2ed3..a3f7b38115fd 100644 --- a/net-analyzer/prelude-nids/files/gentoo.init +++ b/net-analyzer/prelude-nids/files/gentoo.init @@ -1,7 +1,7 @@ #!/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.2 2004/01/21 18:44:54 mboman Exp $ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/prelude-nids/files/gentoo.init,v 1.3 2004/03/04 19:04:45 vapier Exp $ PROGNAME=`basename $1` @@ -18,6 +18,6 @@ start() { stop() { ebegin "Stop ${PROGNAME}..." - start-stop-daemon --stop --quiet --exec /usr/bin/${PROGNAME} &> /dev/null + start-stop-daemon --stop --quiet --exec /usr/bin/${PROGNAME} &> /dev/null eend $? } diff --git a/net-analyzer/scanlogd/files/scanlogd.rc b/net-analyzer/scanlogd/files/scanlogd.rc index 27de609d525c..8c3003ae125b 100644 --- a/net-analyzer/scanlogd/files/scanlogd.rc +++ b/net-analyzer/scanlogd/files/scanlogd.rc @@ -1,7 +1,7 @@ #!/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/scanlogd/files/scanlogd.rc,v 1.3 2003/02/14 22:58:07 vapier Exp $ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/scanlogd/files/scanlogd.rc,v 1.4 2004/03/04 19:06:09 vapier Exp $ depend() { need net diff --git a/net-analyzer/snort/files/snort.rc6 b/net-analyzer/snort/files/snort.rc6 index 44145353283f..d1848bc22b0b 100644 --- a/net-analyzer/snort/files/snort.rc6 +++ b/net-analyzer/snort/files/snort.rc6 @@ -1,7 +1,7 @@ #!/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/snort/files/snort.rc6,v 1.3 2003/02/14 22:58:13 vapier Exp $ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snort/files/snort.rc6,v 1.4 2004/03/04 19:06:09 vapier Exp $ depend() { need net diff --git a/net-analyzer/traffic-vis/files/traffic-vis.init.d b/net-analyzer/traffic-vis/files/traffic-vis.init.d index b855a33d7173..56eaf558f417 100644 --- a/net-analyzer/traffic-vis/files/traffic-vis.init.d +++ b/net-analyzer/traffic-vis/files/traffic-vis.init.d @@ -1,7 +1,7 @@ #!/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/traffic-vis/files/traffic-vis.init.d,v 1.1 2003/10/30 00:17:12 lisa Exp $ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/traffic-vis/files/traffic-vis.init.d,v 1.2 2004/03/04 19:06:09 vapier Exp $ opts="depend start stop" @@ -10,13 +10,13 @@ depend() { } start() { - ebegin "Starting traffic-vis" - start-stop-daemon --start --quiet --exec /usr/sbin/traffic-collector -- --pid-file /var/run/traffic-collector.pid --interface $TRAFFIC_VIS_INTERFACE --summary-file $TRAFFIC_VIS_FILE $TRAFFIC_VIS_OPTIONS - eend $? "Failed to start traffic-vis" + ebegin "Starting traffic-vis" + start-stop-daemon --start --quiet --exec /usr/sbin/traffic-collector -- --pid-file /var/run/traffic-collector.pid --interface $TRAFFIC_VIS_INTERFACE --summary-file $TRAFFIC_VIS_FILE $TRAFFIC_VIS_OPTIONS + eend $? "Failed to start traffic-vis" } stop() { - ebegin "Stopping traffic-vis" - start-stop-daemon --stop --quiet --pidfile /var/run/traffic-collector.pid - eend $? "Failed to stop traffic-vis" + ebegin "Stopping traffic-vis" + start-stop-daemon --stop --quiet --pidfile /var/run/traffic-collector.pid + eend $? "Failed to stop traffic-vis" } |