[gPXE-devel] Minor Scripting Improvements
Shao Miller
Shao.Miller at yrdsb.edu.on.ca
Fri Mar 5 10:45:56 EST 2010
Good day to all,
Last night I submitted a couple of patches for the scripting system. I
wanted to throw them out there so they could be used by anyone needing
them, but I'd enjoy a bit of discussion and value feedback regarding the
features they introduce.
Some questions I have:
* Should 'exit' in a script
- exit just the currently executing script?
- exit all executing scripts?
- exit gPXE?
* Should the semantics of the 'loop' command be changed to
- No argument means do not loop? (Where user must specify a literal,
such as "1" to force an unconditional loop)
I believe that if and when the scripting system is revisited, 'exit' and
'loop' should be trivial to port. My concern is that it's been quite
some time we've all been thinking about this revisit, but in the
meanwhile some users are missing commonly requested features. At a cost
of 69 bytes uncompressed (or less, if these patches can be easily
re-worked to cost less), are these two features worth incorporating at
this time?
- Shao Miller
More information about the gPXE-devel
mailing list