diff options
| author | Edwin Groothuis <edwin@FreeBSD.org> | 2003-04-05 08:20:27 +0000 |
|---|---|---|
| committer | Edwin Groothuis <edwin@FreeBSD.org> | 2003-04-05 08:20:27 +0000 |
| commit | 336ae31855b2c03f448d456e65294c4af46ec1b4 (patch) | |
| tree | b882420483c1bbfe2bc0c2384c9cd94112f929f2 /net/netams/files/netams.sh | |
| parent | - add empty directories (diff) | |
NeTAMS - Network Traffic Accounting and Monitoring Software
NeTAMS is a Network Traffic Accounting and Monitoring Software.
It runs as a daemon under FreeBSD and Linux operating systems.
Collects an IP traffic information flowing via your PC/UNIX
or Cisco router, filters it, aggregates, stores onto HASH/SQL
database, and makes SMTP/HTML reports to site administrator.
Anoter features are flexible policy targets, firewalling,
access control, quotas, scheduler and much much more.
PR: ports/46777
Submitted by: Yuriy N. Shkandybin <jura@happychance.com>
Diffstat (limited to 'net/netams/files/netams.sh')
| -rw-r--r-- | net/netams/files/netams.sh | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/net/netams/files/netams.sh b/net/netams/files/netams.sh new file mode 100644 index 000000000000..1df303d575ff --- /dev/null +++ b/net/netams/files/netams.sh @@ -0,0 +1,26 @@ +#!/bin/sh + +case "$1" in + +start) + sleep 3; + /bin/mkdir -p /var/run/netams + if [ -x /usr/local/libexec/netams ]; then + if [ -f /usr/local/etc/netams.conf ]; then + /usr/local/libexec/netams -lf /usr/local/etc/netams.conf >/dev/null && echo -n ' NetAMS' + fi + fi + ;; + +stop) + killall netams + rmdir /var/run/netams + ;; +*) + echo "$0 start | stop" + ;; + +esac + + + |
