Custom Variables

Alan DeKok aland at deployingradius.com
Thu Jun 6 18:02:28 CEST 2019


On Jun 5, 2019, at 4:58 AM, Gabriel Marais <gabriel.j.marais at gmail.com> wrote:
> 
> Hi guys,
> 
> I am trying to create the following config file, per "apn" and have it $included as config files to load on start :-
> 
> -- snip --
> apn = imobile
> 
> realm "${apn}" {
>        acct_pool = pool."${apn}"

  In short, you can't just invent new syntax and expect it to work.  The configuration files don't auto-append simple text and double-quoted strings to get a "new" value.

  You just can't do what you're trying to do.  I suggest using an external templating system.

  Akan DeKok.




More information about the Freeradius-Users mailing list