Re: [gentoo-user] fine grained net dependancies

2006-12-07 Thread Mike Williams
On Thursday 07 December 2006 01:48, Thomas Rösner wrote: > > At some point I was sure baselayout supported full runscript depend(){} > > syntax, in the form depend_${iface}(){}. > > That'd be nice! I didn't know it ever worked. It would be nice if this > could be made to work again. There is suppo

Re: [gentoo-user] fine grained net dependancies

2006-12-06 Thread Thomas Rösner
Mike Williams wrote: Hey, At some point I was sure baselayout supported full runscript depend(){} syntax, in the form depend_${iface}(){}. That'd be nice! I didn't know it ever worked. It would be nice if this could be made to work again. I have tried adding depend_br0(){ befor

Re: [gentoo-user] fine grained net dependancies

2006-12-06 Thread Mike Williams
On Wednesday 06 December 2006 20:51, Neil Bothwick wrote: > On Wed, 6 Dec 2006 20:18:11 +, Mike Williams wrote: > > I *need* heartbeat to start *after* br0. > > You could do his from the postup function in /etc/conf.d/net > > postup() { > [ "${IFACE}" == "br0" ] && /etc/init.d/heartbeat s

Re: [gentoo-user] fine grained net dependancies

2006-12-06 Thread Neil Bothwick
On Wed, 6 Dec 2006 20:18:11 +, Mike Williams wrote: > I *need* heartbeat to start *after* br0. You could do his from the postup function in /etc/conf.d/net postup() { [ "${IFACE}" == "br0" ] && /etc/init.d/heartbeat start } -- Neil Bothwick It is easier to fix Unix than to live w

[gentoo-user] fine grained net dependancies

2006-12-06 Thread Mike Williams
Hey, At some point I was sure baselayout supported full runscript depend(){} syntax, in the form depend_${iface}(){}. However it's not working quite how I would like it to. I *need* heartbeat to start *after* br0. (My network config is quite complex, br0 is a bridge of bond0 and bond4, bonds 0 a