Skip to content

Commit

Permalink
net/frr: Delete per daemon and old watchfrr files (#4552)
Browse files Browse the repository at this point in the history
* net/frr: Delete per daemon and old watchfrr files, this cleans up remains after the frr.conf migration.

Co-authored-by: Franco Fichtner <[email protected]>

---------

Co-authored-by: Franco Fichtner <[email protected]>
  • Loading branch information
Monviech and fichtner authored Feb 17, 2025
1 parent 087d848 commit 7de5c62
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions net/frr/pkg-descr
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
14 changes: 14 additions & 0 deletions net/frr/src/opnsense/scripts/frr/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 7de5c62

Please sign in to comment.