diff options
author | Johann Visagie <wjv@FreeBSD.org> | 2002-06-26 13:24:41 +0000 |
---|---|---|
committer | Johann Visagie <wjv@FreeBSD.org> | 2002-06-26 13:24:41 +0000 |
commit | ae896a0c22425fc50e5eca93d3901c63f520448b (patch) | |
tree | 7aecacd39ac6da344a348177de5098882e18909b | |
parent | fb2fcebc2501761b7c9159e3ef9d2538ff3b06c2 (diff) | |
download | freebsd-ports-ae896a0c22425fc50e5eca93d3901c63f520448b.zip |
- Fix an error I introduced into rc.d startup script during previous commit.
- Bump PORTREVISION
-rw-r--r-- | net/ntop/Makefile | 1 | ||||
-rw-r--r-- | net/ntop/files/ntop.sh | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/net/ntop/Makefile b/net/ntop/Makefile index 6d100e1fe685..0cb8a8e32be0 100644 --- a/net/ntop/Makefile +++ b/net/ntop/Makefile @@ -7,6 +7,7 @@ PORTNAME= ntop PORTVERSION= 2.0.99.r2 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= http://luca.ntop.org/ \ ${MASTER_SITE_SOURCEFORGE} diff --git a/net/ntop/files/ntop.sh b/net/ntop/files/ntop.sh index 0bb75a6fedf9..920ba0eacf19 100644 --- a/net/ntop/files/ntop.sh +++ b/net/ntop/files/ntop.sh @@ -19,7 +19,7 @@ http_port='3000' https_port='3001' # Directory for ntop.access.log -logdir='%%LOGDIR%%/ntop.access.log' +logdir='%%LOGDIR%%' # Specify any additional arguments here - see ntop(8) additional_args='-E' @@ -28,12 +28,12 @@ additional_args='-E' # End of user-configurable variables #---------------------------------------------------------------------- -args='-d -t0' +args='-d -L' [ ! -z $interfaces ] && args="$args -i $interfaces" [ ! -z $http_port ] && args="$args -w $http_port" [ ! -z $https_port ] && args="$args -W $https_port" -[ ! -z $logdir ] && args="$args -a ${logdir}" +[ ! -z $logdir ] && args="$args -a ${logdir}/ntop.access.log" [ ! -z $userid ] && args="$args -u $userid" [ ! -z "$additional_args" ] && args="$args $additional_args" |