21 Oct
2007
21 Oct
'07
2:04 a.m.
mozart@pisem.net 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.