[EMAIL PROTECTED] wrote:
> Hi everyone! I'm trying to set a conditional variable in my sql.conf.
The configuration files don't support conditional variables. Perhaps
you mean something else.
> According to value of %{NAS-Port-Type} my variable (i.e. MYVAR) should
> be assigned to value returned by different programs through 'exec'
> module. I couldn't find any examples how to do it. So I will appreciate
> if someone helped me.
%{exec:/path/to/program foo} will do something like what you want.
Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html