aboutsummaryrefslogtreecommitdiffstats
path: root/package/pmacct/files
diff options
context:
space:
mode:
Diffstat (limited to 'package/pmacct/files')
-rw-r--r--package/pmacct/files/nfacctd.conf28
-rw-r--r--package/pmacct/files/nfacctd.default1
-rw-r--r--package/pmacct/files/nfacctd.init22
-rw-r--r--package/pmacct/files/pmacctd.conf26
-rw-r--r--package/pmacct/files/pmacctd.default1
-rw-r--r--package/pmacct/files/pmacctd.init22
6 files changed, 0 insertions, 100 deletions
diff --git a/package/pmacct/files/nfacctd.conf b/package/pmacct/files/nfacctd.conf
deleted file mode 100644
index a9817b2185..0000000000
--- a/package/pmacct/files/nfacctd.conf
+++ /dev/null
@@ -1,28 +0,0 @@
-!
-! nfacctd configuration example
-!
-! debug: true
-daemonize: true
-pidfile: /var/run/nfacctd.pid
-! aggregate_filter[dummy]: src net 192.168.0.0/16
-aggregate: src_host, dst_host
-! plugin_buffer_size: 1024
-! nfacctd_port: 5678
-! nfacctd_time_secs: true
-! nfacctd_time_new: true
-plugins: memory
-imt_buckets: 65537
-imt_mem_pools_size: 65536
-! imt_mem_pools_number: 0
-! plugins: mysql
-! plugins: pgsql
-! sql_db: pmacct
-! sql_table: acct
-! sql_table_version: 2
-! sql_passwd: arealsmartpwd
-! sql_user: pmacct
-! sql_refresh_time: 90
-! sql_optimize_clauses: true
-! sql_history: 10m
-! sql_history_roundoff: mh
-! networks_file: ./networks.example
diff --git a/package/pmacct/files/nfacctd.default b/package/pmacct/files/nfacctd.default
deleted file mode 100644
index 9315b280c9..0000000000
--- a/package/pmacct/files/nfacctd.default
+++ /dev/null
@@ -1 +0,0 @@
-OPTIONS="-f /etc/nfacctd.conf"
diff --git a/package/pmacct/files/nfacctd.init b/package/pmacct/files/nfacctd.init
deleted file mode 100644
index c38c7f14b2..0000000000
--- a/package/pmacct/files/nfacctd.init
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/sh
-
-BIN=nfacctd
-DEFAULT=/etc/default/$BIN
-RUN_D=/var/run
-PID_F=$RUN_D/$BIN.pid
-[ -f $DEFAULT ] && . $DEFAULT
-
-case $1 in
- start)
- mkdir -p $RUN_D
- $BIN $OPTIONS
- ;;
- stop)
- [ -f $PID_F ] && kill -INT $(cat $PID_F)
- ;;
- *)
- echo "usage: $0 (start|stop)"
- exit 1
-esac
-
-exit $?
diff --git a/package/pmacct/files/pmacctd.conf b/package/pmacct/files/pmacctd.conf
deleted file mode 100644
index 65c6387ea3..0000000000
--- a/package/pmacct/files/pmacctd.conf
+++ /dev/null
@@ -1,26 +0,0 @@
-!
-! pmacctd configuration example
-!
-! debug: true
-interface: vlan1
-daemonize: true
-pidfile: /var/run/pmacctd.pid
-pmacctd_id: 1
-aggregate: src_host,dst_host
-! aggregate: src_net,dst_net
-plugins: memory
-imt_buckets: 65537
-imt_mem_pools_size: 65536
-! imt_mem_pools_number: 0
-! plugins: mysql
-! plugins: pgsql
-! sql_db: pmacct
-! sql_table: acct
-! sql_table_version: 2
-! sql_passwd: arealsmartpwd
-! sql_user: pmacct
-! sql_refresh_time: 90
-! sql_optimize_clauses: true
-! sql_history: 10m
-! sql_history_roundoff: mh
-! networks_file: ./networks.example
diff --git a/package/pmacct/files/pmacctd.default b/package/pmacct/files/pmacctd.default
deleted file mode 100644
index 3c06f085f6..0000000000
--- a/package/pmacct/files/pmacctd.default
+++ /dev/null
@@ -1 +0,0 @@
-OPTIONS="-f /etc/pmacctd.conf"
diff --git a/package/pmacct/files/pmacctd.init b/package/pmacct/files/pmacctd.init
deleted file mode 100644
index 0af1095000..0000000000
--- a/package/pmacct/files/pmacctd.init
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/sh
-
-BIN=pmacctd
-DEFAULT=/etc/default/$BIN
-RUN_D=/var/run
-PID_F=$RUN_D/$BIN.pid
-[ -f $DEFAULT ] && . $DEFAULT
-
-case $1 in
- start)
- mkdir -p $RUN_D
- $BIN $OPTIONS
- ;;
- stop)
- [ -f $PID_F ] && kill -INT $(cat $PID_F)
- ;;
- *)
- echo "usage: $0 (start|stop)"
- exit 1
-esac
-
-exit $?