Need help solve " We unsupport $((arith)) " Syntax Error
Gururaja Hebbar K R
gururajakr at sanyo.co.in
Mon Jun 9 10:39:47 UTC 2008
Hi
>> i am using few init scripts to run and while running /etc/init.d/rc i
>> get error as
>>
>> Syntax error: We unsupport $((arith))
>well if you dont enable math support in the busybox config, you really
shouldnt be surprised when it doesnt work
> when i checked the file, it had something like this
>
> step=$(($step + $step_change))
>
> I tried to remove the double brackets and make it look as
>
> step=$($step + $step_change)
>that's clearly wrong seeing as how those statements arent close to
having the same meaning -mike
Thanks for the quick solution. my mistake that i hadn't enabled it.
Regards
Gururaja
More information about the busybox
mailing list