Run script immediately on boot and then again after vyos has fully loaded

This post is all about the BGP filter bug: BGP filters dont work on startup or shutdown - #2 by BarrySDCA

It’s a big problem for me. wondering if anyone knows of a way I can run two different scripts:

one when vyos first boots, the first thing it does. it would be simple sudo ifconfig eth15 down

and then after it’s completely loaded, needs to run sudo ifconfig eth15 up

this will prevent route hijacking of the bgp peers.


thank you