[BusyBox] ash arith error?
Chun Kit Edwin Lau
edwin at micronedge.com
Mon Mar 21 14:51:42 UTC 2005
On Mon, 2005-03-21 at 10:27 +0300, Vladimir N. Oleynik wrote:
> Chun,
>
> >>>Second, I checked the
> >>>syntax for ++ and it seems ok. BTW, I am a ash/bash script newbie.
>
> > metric=0
> > for i in $router ; do
> > route add default gw $i dev $interface metric $((metric++))
> > done
> > ---------------------------------------------------------^
>
> Very strange. Its works for me.
> May be your target have old ash version?
>
I am using busybox v1.00. Do I have to enable some options or install
some lib?
>
> --w
> vodz
>
>
Edwin Lau
More information about the busybox
mailing list