On Tue, Oct 07, 2008 at 02:15:22PM +0200, Natanael Copa wrote: >On Tue, 2008-10-07 at 10:58 +0200, Bernhard Reutner-Fischer wrote: >> On Tue, Oct 07, 2008 at 10:36:30AM +0200, Natanael Copa wrote: >> >Hi, >> > >> >Attatched patch lets you use the "metric" keyword when adding routes. >> >Useful for udhcp scripts: >> > >> >metric=0 >> >for gw in $router; do >> > ip route add default via $gw dev $interface metric $metric >> > metric=$(( $metric + 1 )) >> >done >> >> sounds good, please resend with updated usage.h, too. >> TIA, > >This one should do the trick.
Installed as r23618. Thanks! > >I didn't try to fix the app so it actually shows the info. The manpage >and html doc should have the updated usage though. yes, noted. _______________________________________________ busybox mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/busybox
