net/frr: Delete per daemon and old watchfrr files (#4552)

* net/frr: Delete per daemon and old watchfrr files, this cleans up remains after the frr.conf migration.

Co-authored-by: Franco Fichtner <franco@opnsense.org>

---------

Co-authored-by: Franco Fichtner <franco@opnsense.org>
This commit is contained in:
Monviech 2025-02-17 17:03:17 +01:00 committed by GitHub
parent 087d848c18
commit 7de5c62651
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 16 additions and 0 deletions

View file

@ -16,9 +16,11 @@ Plugin Changelog
* Use frr-reload instead of restarting the service on configuration changes (opnsense/plugins/issues/4529)
* Migrate separate daemon config files into single frr.conf file (opnsense/plugins/issues/4510)
* Delete per daemon and old watchfrr files (opnsense/plugins/issues/4551)
* Add help texts to all options and expose them in grid as columns (opnsense/plugins/pull/4494)
* Replace deprecated passive-interface directive in ospf (opnsense/plugins/issues/4534)
* Style cleanup and unify forms (opnsense/plugins/pull/4450)
* Implement base_apply_button (opnsense/plugins/pull/4542)
1.42

View file

@ -21,3 +21,17 @@ chown $user:$group /var/log/frr.log
# register Security Associations
/usr/local/opnsense/scripts/frr/register_sas
# delete stale configuration files from frr.conf migration
files_to_delete="
/etc/rc.d/watchfrr
/usr/local/etc/frr/bfdd.conf
/usr/local/etc/frr/bgpd.conf
/usr/local/etc/frr/ospfd.conf
/usr/local/etc/frr/ospf6d.conf
/usr/local/etc/frr/ripd.conf
/usr/local/etc/frr/staticd.conf
/usr/local/etc/frr/zebra.conf
"
rm -f $files_to_delete