]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[cmdline] Add "isset" command
authorMichael Brown <mcb30@ipxe.org>
Mon, 22 Nov 2010 20:41:17 +0000 (20:41 +0000)
committerMichael Brown <mcb30@ipxe.org>
Mon, 22 Nov 2010 20:41:52 +0000 (20:41 +0000)
commitba92a46710481b968367460fe9a57a2567095bc9
treeea9008de93848607c996a13970aba586f87df413
parent84aa702ff8b66f883e9ac5792b26d4e9d0760573
[cmdline] Add "isset" command

The "isset" command can be used to determine whether or not a setting
is present.  For example:

  isset ${net0/ip} || dhcp net0   # If we have no IP address, try DHCP

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/core/exec.c