Read custom file in unlang
aland at deployingradius.com
Thu Feb 2 15:18:29 CET 2017
On Feb 2, 2017, at 9:14 AM, Timo Buhrmester <timo.buhrmester at fhr.fraunhofer.de> wrote:
> Apologies for the seemingly trivial question, but I can't seem to find
> an answer in the documentation: Is there a way to read the content of
> a text file in unlang, for the purpose of assigning it to a variable or
> using it in a conditional *without* having to shell out w/ backticks?
There isn't support for reading arbitrary text files in unlang.
The language is intended to support simple policies. Anything more complex should be done in a real language.
More information about the Freeradius-Users