[ECOS] BOOPT bootfile

Grant Edwards grante@visi.com
Thu Jan 30 15:33:00 GMT 2003


On Thu, Jan 30, 2003 at 08:26:04AM -0700, Gary D. Thomas wrote:

> > One obvious improvement would be to auto-detect the filetype.
> 
> Agreed - I'll try and find a solution which handles this.
> 
> > Another option I was thinking about would be to treat the
> > downloaded file as a script rather than an application

Which might as well be combined with the filetype detection so
that if a downloaded file begins with #!RedBoot it's
interpreted as a script.  That would be cool.

> > That way you could do just put
> > 
> >  load foobar.bin
> >  go
> >  
> > into the file pointed to by BOOTP/DHCP
> 
> Which is exactly what I suggested two years ago :-)

I guess I misunderstood.  I thought that the suggestion was for
the DHCP/BOOTP info to be put into script variables so that the
script (still required to be in flash) could do something like
"load $BOOTPFILE".  I didn't realize that you were suggesting
that the downloaded file be interpreted as a script.

-- 
Grant Edwards
grante@visi.com

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list