This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Using aliases in redboot boot scripts
- From: Andrew Lunn <andrew dot lunn at ascom dot ch>
- To: Gary Thomas <gary at chez-thomas dot org>, mslater at redhat dot com, eCos Disuss <ecos-discuss at sources dot redhat dot com>
- Date: Mon, 5 Aug 2002 16:06:19 +0200
- Subject: [ECOS] Using aliases in redboot boot scripts
Hi Gary, Mark, etc...
For a long while i have been using alias in redboot boot scripts. eg i
have an alias %{tftp_boot} which performs a complete tftp. I've put
the command %{tftp_boot} into the boot script and all works well.
Yesterday i updated to the latest anoncvs code for redboot and now
this is broken. The function getc_script() is used to pass the script
to the CLI. This function is discarding all charactors in the script
between, and including, { and }. Hence its not possible to put alias
in the boot script anymore,
Before i hack this strange code out, i would like to know: Whats the
purpose of this?
Thanks
Andrew
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss