Re: [uCsimm] Interesting uClinux sh problems

From: Charlie Burns (cburns@transmeta.com)
Date: Mon Sep 11 2000 - 15:33:16 EDT


What shells are people using on uClinux besides sash and lash?

Is anyone running a stripped down (or old) version of tcl?

(I don't have a ucsimm/uclinux yet, but I'm about to get one.)

TIA.

Charlie

> On Mon, Sep 11, 2000 at 11:31:52AM +0300, Zach Shelby wrote:
> > I have ported a BOOTP client for the uClinux distribution. Works well
> > (if you'd like the ported source just write me), however I'm having a
> > problem using the output with the uClinux sh.
> >
> > bootpc outputs something like:
> > IPADDR='193.166.161.19'
> > GATEWAY='193.166.161.1'
> > DNS_SERVERS='333.33.......'
> > etc..
> >
> > This output is saved in a temp file. eval 'cat temp.file' is then
> > called to read the variables into the environment to use them in an rc
> > script with ifattach. However the eval in this sh version doesn't seem
> > to work. Atleast I can't get these bootpc variables into shell
> > variables. Any ideas? Is it a strange quirk of this sh implementation?
>
> The busybox "lash (lame-ass shell)" has many limitations.
> I think you can actually work around this one by adding
> "export " in front of the above declarations.
>
> - Larry Doolittle <LRDoolittle@lbl.gov>
> This message resent by the ucsimm@uclinux.com list server http://www.uClinux.com/
>

This message resent by the ucsimm@uclinux.com list server http://www.uClinux.com/



This archive was generated by hypermail 2b30 : Sun Apr 07 2002 - 00:01:38 EST