Re: wait link up before route configuration

2024-08-29 Thread Baptiste Daroussin
On Wed 28 Aug 08:40, Freddie Cash wrote: > On Wed, Aug 28, 2024 at 1:21 AM yann.mas...@thehomecave.fr < > yann.mas...@thehomecave.fr> wrote: > > > After configuring interfaces and routes, and triggering a 'service netif > > restart && service routing restart' is there a way to wait for the 'carrie

Re: wait link up before route configuration

2024-08-28 Thread yann.mas...@thehomecave.fr
/etc/rc.d/netwait dependencies are # PROVIDE: netwait # REQUIRE: devd ipfw pf routing [truncated] rcorder -p /etc/rc.d/* /etc/rc.d/netif /etc/rc.d/routing /etc/rc.d/netwait I've tested netwait. It doesn't work If i configure routing like that: # /etc/rc.conf.d/routing route_defaultgw="-host 20

Re: wait link up before route configuration

2024-08-28 Thread Freddie Cash
On Wed, Aug 28, 2024 at 1:21 AM yann.mas...@thehomecave.fr < yann.mas...@thehomecave.fr> wrote: > After configuring interfaces and routes, and triggering a 'service netif > restart && service routing restart' is there a way to wait for the 'carrier > up' of the interface before route reconfigurati