Feature #11301
openSwitch FRR to use default rc file as a service control base
0%
Description
Switch FRR to use default rc file as a service control base
- Set rc.conf.d/frr for watchfrr service action support
watchfrr uses the frr rc script to perform service actions when a service crashes but this is disabled as the rc.conf settings aren't set as the service is managed by the pfSense UI.
- Set a minimal set of configuration for the rc script to operate and allow watchfrr to execute service actions.
- Switch pfSense generated rc file to use port rc file as a base
- Remove the creation of the daemon start string temporary file as this functionality can be achieved by using the rc.conf.d file instead.
- Add test of running daemons to restart/reload decision to ensure services are start on boot.
- Rationalise variables names in frr_generate_config_rcfile()