Hi Curtis,
I think the script is using /bin/sh, which shell is that?
thanks,
Lee
>
> Are you using ASH (the default shell for busybox)? or a full BASH?
>
> Ash has features removed to save space for embedded projects.
>
> -Curtis.
>
>
> On November 30, 2005 10:46 am, ld_ts7200 wrote:
> > Hi Everyone,
> >
> > I wonder if somebody could help with a BusyBox problem?
> >
> > In my quest to make my TS7200 into an all singing dancing router box,
> > I'm trying to use Shorewall. Shorewall is a collection of scripts
used
> > to ease router configuration.
> >
> > Unfortunately, one or two script functions fail under BusyBox's
shell.
> > A typical function which fails is (just in case there is anything
> > obvious):
> >
> > decodeaddr() {
> > local x
> > local temp=0
> > local ifs=$IFS
> >
> > IFS=.
> >
> > for x in $1; do
> > temp=$(( $(( $temp $LEFTSHIFT 8 )) | $x ))
> > done
> >
> > echo $temp
> >
> > IFS=$ifs
> > }
> >
> > Does anybody know whether there is a problem with BusyBox 1.00-rc2?
> >
> > If I need to update, does anybody know which options to select in the
> > BusyBox configuration for the TS7200. I've read on Jim Jacksons' site
> > that the wrong settings can be fatal!!!
> >
> > Regards,
> >
> > Lee
> >
> >
> >
> >
> >
> >
> > SPONSORED LINKS
> > Computer internet security Linux os Computer internet business
> > Computer internet access Computer internet privacy securities
Computer
> internet help
> >
> >
> > YAHOO! GROUPS LINKS
> >
> >
> > Visit your group "ts-7000" on the web.
> >
> > To unsubscribe from this group, send an email to:
> >
> >
> > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
> >
> >
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/2jUsvC/tzNLAA/TtwFAA/CFFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|