[ECOS] Using aliases in redboot boot scripts

Andrew Lunn andrew.lunn@ascom.ch
Mon Aug 5 07:06:00 GMT 2002


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



More information about the Ecos-discuss mailing list