OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Tutorials and FAQs »
  • how does config.xml file generate?
« previous next »
  • Print
Pages: [1]

Author Topic: how does config.xml file generate?  (Read 5738 times)

alone_k1

  • Newbie
  • *
  • Posts: 19
  • Karma: 0
    • View Profile
how does config.xml file generate?
« 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
« Last Edit: September 07, 2018, 02:40:57 pm by alone_k1 »
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17703
  • Karma: 1616
    • View Profile
Re: how does config.xml file generate?
« Reply #1 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
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Tutorials and FAQs »
  • how does config.xml file generate?
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2