Hi all,
I've got some specific FRR+BGP config that's not possible to do via the web interface but does work if injected manually.
I'll look into contributing to the plugin eventually but for now I just want to automatically overwrite any generated `frr.conf`.
Which is the most appropriate autorun for this? Or should it go in `/etc/rc.conf.d/`?
It essentially only needs to run immediately after the service generates a config file.
Start or Early seem to run before generation of the conf file, and config would run EVERY time a setting changed, which is a lot of service restarts/reloads.
https://docs.opnsense.org/development/backend/autorun.html
Add your own configuration file in here as include and let the templating engine generate it.
https://github.com/opnsense/plugins/blob/master/net/frr/src/opnsense/service/templates/OPNsense/Quagga/frr.conf