[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: [BusyBox] ash arith error?
From: Chun Kit Edwin Lau <edwin () micronedge ! com>
Date: 2005-03-21 14:51:42
Message-ID: 1111416702.5911.0.camel () localhost
[Download RAW message or body]
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
_______________________________________________
busybox mailing list
busybox@mail.busybox.net
http://codepoet.org/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic