On Wed, Apr 13, 2011 at 01:50:02PM +0200, deadeyes wrote: > > I was searching around the gentoo forums for ifmetric and found this piece of > code that can be added in /etc/conf.d/net: > postup() { > local metric=0 > > case "${IFACE}" in > eth0) metric=0 ;; > eth1) metric=1 ;; > esac > ifmetric "${IFACE}" "${metric}" > > return 0 > } >
Hey, that works very well here -- thanks! Been wanting that solution for some time now. :) -- /\ /\ <\ /> ^ caveat utilitor 'v-v'