summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown2010-11-22 02:47:07 +0100
committerMichael Brown2010-11-22 02:47:07 +0100
commit9ba988809d2bae422fe36d5e6c8563b3cd6cac55 (patch)
tree00a06c6a9d9b4702f3c31e5924b82b78c5ba6146 /src/include
parent[pxe] Remove startpxe and stoppxe commands from default builds (diff)
downloadipxe-9ba988809d2bae422fe36d5e6c8563b3cd6cac55.tar.gz
ipxe-9ba988809d2bae422fe36d5e6c8563b3cd6cac55.tar.xz
ipxe-9ba988809d2bae422fe36d5e6c8563b3cd6cac55.zip
[cmdline] Add trivial logical operators to iPXE command lines
Make the "||" and "&&" operators available within iPXE commands. For example: dhcp net0 || set net0/ip 192.168.0.2 would attempt to acquire an IP address via DHCP, falling back to a static address if DHCP fails. As a side-effect, comments may now be appended to any line. For example: dhcp net0 || set net0/ip 192.168.0.2 # Try DHCP first, then static Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include')
0 files changed, 0 insertions, 0 deletions