This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: does redboot support scripting?


On Thu, Jun 24, 2004 at 08:13:10PM +0800, kneep wrote:
> hi all.
> I mean if I have a group of commands to execute sequentially under 
> redboot???can I write these commands into a script and only need to 
> execute the script just like the boot script of redboot?
> for example, to update a image, I have to do things like following:
> load -h 192.168.2.x zImage -r -b 0x108000
> fis create zImage
> these commands are some boring and hard to memorize. so, is it possible 
> to write a simple script like the boot script to  execute them?
> actually I don't think I need this feature at all. but I do think that 
> some end-user really need it.
> do I miss something in the manual? if so, sorry.

Yes, you missed it in the manual:

http://ecos.sourceware.org/docs-latest/redboot/alias-command.html

If i remember correctly, you put a ; between commands, just like on a
shell.

        Andrew

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]