summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFerry Meyndert <m0rpheus@gentoo.org>2002-02-21 23:14:00 +0000
committerFerry Meyndert <m0rpheus@gentoo.org>2002-02-21 23:14:00 +0000
commitbee19fce18406df023d25677ba571554ab7310c0 (patch)
treef1dc5b80391e468964b4a1da7a6646a314a1f5b6 /net-analyzer/p0f
parentchangelog (diff)
downloadhistorical-bee19fce18406df023d25677ba571554ab7310c0.tar.gz
historical-bee19fce18406df023d25677ba571554ab7310c0.tar.bz2
historical-bee19fce18406df023d25677ba571554ab7310c0.zip
removed vars
Diffstat (limited to 'net-analyzer/p0f')
-rw-r--r--net-analyzer/p0f/files/p0f-1.8.2.init18
1 files changed, 5 insertions, 13 deletions
diff --git a/net-analyzer/p0f/files/p0f-1.8.2.init b/net-analyzer/p0f/files/p0f-1.8.2.init
index 8c3c670c1ec6..d24dff8271f4 100644
--- a/net-analyzer/p0f/files/p0f-1.8.2.init
+++ b/net-analyzer/p0f/files/p0f-1.8.2.init
@@ -1,16 +1,8 @@
#!/sbin/runscript
-# Based upon a script copyrighted under LGPL
-# Modified by Ilian Zarov <coder@descom.com>
-# description: p0f - the p0f monitoring program.
-# processname: p0f
-# pidfile: /var/run/p0f.pid
+# 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/p0f/files/p0f-1.8.2.init,v 1.2 2002/02/21 23:14:00 m0rpheus Exp $
-PATH=/usr/bin:/sbin:/bin:/usr/sbin
-export PATH
-export P0FLOGFILE=/var/log/p0f
-
-# Source function library.
-source /etc/init.d/functions.sh
start() {
ebegin "Starting p0f"
@@ -34,7 +26,7 @@ start() {
# Start up p0f and filter out all packets originating from any of this machines IP's.
einfo "Logfile: ${P0FLOGFILE}"
- start-stop-daemon --start --quiet --exec /usr/sbin/p0f -- -v "$BpfFilter" >>"$P0FLOGFILE" 2>&1 &
+ start-stop-daemon --start --quiet --exec /usr/sbin/p0f -- -v "$BpfFilter" >>"/var/log/p0f" 2>&1 &
eend ${?}
}
@@ -43,4 +35,4 @@ stop() {
start-stop-daemon --stop --quiet --exec /usr/sbin/p0f
rm -f /var/lock/subsys/p0f
eend ${?}
-} \ No newline at end of file
+}