mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
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:
co-authored by
Franco Fichtner
parent
087d848c18
commit
7de5c62651
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user