help-gnu-radius
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gnu-radius] Acct-Ext-Program


From: Sergey Poznyakoff
Subject: Re: [Help-gnu-radius] Acct-Ext-Program
Date: Wed, 28 Aug 2002 12:10:13 +0300

> It's possible with GnuRadius ?

Yes, it is:

# in your raddb/hints
DEFAULT NULL    Acct-Ext-Program = "start.pl %C{Acct-Status-Type}"

# in your start.pl

if ($ARGV[0] == 1) {
   # Start action
   ...
} elsif ($ARGV[0] == 2) {
   # Stop action
   ...
}

Regards,
Sergey




reply via email to

[Prev in Thread] Current Thread [Next in Thread]