Splitting lines in config files (OPEN)

Alan DeKok aland at deployingradius.com
Wed Aug 21 16:12:40 UTC 2024


On Aug 21, 2024, at 2:44 AM, Per Weisteen <per.weisteen at telenor.no> wrote:
> I've tried to split the long if line into separate lines for each condition just to make it more readable but that doesn't seem to work.
> Is splitting this if statement over several lines supposed to work?

  Yes.  Put backslashes at the end of the lines:

	if ((foo = bar) || \
	   (x == b) ...


> Would it be possible to have the list of valid CAs stored in a text file and do some coding to parse that file?

  I'd use sqlite.  It's simple, and works.

  Alan DeKok.



More information about the Freeradius-Users mailing list