OPNsense Forum

English Forums => Tutorials and FAQs => Topic started by: alone_k1 on September 07, 2018, 02:37:51 pm

Title: how does config.xml file generate?
Post by: alone_k1 on September 07, 2018, 02:37:51 pm
hi all, wanted to know how does config.xml file generate ?

in this address : /conf/config.xml

which command or file generates config.xml file ?
thanks
Title: Re: how does config.xml file generate?
Post by: franco on September 08, 2018, 10:54:00 am
Here's the code that handles config.xml in general with an direct link to the save() function:

https://github.com/opnsense/core/blob/master/src/opnsense/mvc/app/library/OPNsense/Core/Config.php#L525


Cheers,
Franco