Unlang check if module exists before if else block

Arnab Roy arnabroy at mail.com
Tue Apr 4 19:30:10 CEST 2017


   Hi Alan,

   I am trying to script some automated configuration generation and
   wanted to see if this was possible natively on FR. Will have to tackle
   this one differently in my own code I guess.

   Thanks for the prompt response.

   Many Thanks
   Arnab

   Sent: Tuesday, April 04, 2017 at 6:12 PM
   From: "Alan DeKok" <aland at deployingradius.com>
   To: "FreeRadius users mailing list"
   <freeradius-users at lists.freeradius.org>
   Subject: Re: Unlang check if module exists before if else block
   On Apr 4, 2017, at 12:56 PM, Arnab Roy <arnabroy at mail.com> wrote:
   > Is it possible to check in unlang if module is enabled for e.g.
   > something like this
   No.
   A better response is "Why do you need this?"
   Why not just know what your config does?
   Alan DeKok.
   -
   List info/subscribe/unsubscribe? See
   [1]http://www.freeradius.org/list/users.html

References

   1. http://www.freeradius.org/list/users.html


More information about the Freeradius-Users mailing list