This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
cmd:isset [2011/04/08 18:48] mcb30 |
cmd:isset [2011/04/08 18:49] mcb30 |
||
---|---|---|---|
Line 41: | Line 41: | ||
===== Notes ===== | ===== Notes ===== | ||
- | The ''isset'' command relies upon the [[:settings]] expansion performed by all iPXE commands. The implementation of the ''isset'' command simply tests to see if it has a non-empty argument. | + | You should always consider what will happen if the value does not exist. For example: |
- | + | ||
- | You should always consider what will happen if the setting does not exist. For example: | + | |
isset ${filename} && chain ${filename} | isset ${filename} && chain ${filename} |