From f82730f6fd075afdb8d282a8407834732aa8a31c Mon Sep 17 00:00:00 2001
From: Nigel Kukard <nkukard@lbsd.net>
Date: Sun, 1 Mar 2009 08:46:21 +0000
Subject: [PATCH] * Added config for accounting

---
 smradiusd.conf | 47 +++++++++++++++++++++++++----------------------
 1 file changed, 25 insertions(+), 22 deletions(-)

diff --git a/smradiusd.conf b/smradiusd.conf
index 02df3c1f..6d4f4ab4 100644
--- a/smradiusd.conf
+++ b/smradiusd.conf
@@ -108,6 +108,31 @@ mod_userdb_sql
 EOT
 
 
+
+[accounting]
+plugins=<<EOT
+mod_accounting_test
+EOT
+
+
+
+
+[mod_accounting_sql]
+
+sql_accounting_query=<<EOT
+SELECT xyz FROM Accounting WHERE
+EOT
+
+sql_accounting_insert=<<EOT
+INSERT INTO Accounting () VALUES ()
+EOT
+
+sql_accounting_update=<<EOT
+UPDATE Accounting SET
+EOT
+
+
+
 [mod_userdb_sql]
 
 sql_password_query=<<EOT
@@ -131,28 +156,6 @@ SELECT Attribute, Operator, Value FROM group_attributes WHERE GroupID = ${group.
 EOT
 
 
-# ========================================================================================
-
-
-[accounting]
-plugins=<<EOT
-mod_acct_topups
-mod_acct_capping  # use a special field, which includes topups
-EOT
-
-sql_accounting_query=<<EOT
-SELECT xyz FROM Accounting WHERE
-EOT
-
-sql_accounting_insert=<<EOT
-INSERT INTO Accounting () VALUES ()
-EOT
-
-sql_accounting_update=<<EOT
-UPDATE Accounting SET
-EOT
-
-
 
 
 
-- 
GitLab