]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[cmdline] Make "sleep" command available by default
authorMichael Brown <mcb30@ipxe.org>
Mon, 24 Oct 2011 14:39:05 +0000 (15:39 +0100)
committerMichael Brown <mcb30@ipxe.org>
Mon, 24 Oct 2011 14:39:05 +0000 (15:39 +0100)
commitbf2da3122b988cd277da435ee76bc35ad438e8af
tree631f7208c243a8320a90926a9d9d1bb64df532f5
parent7a84cc593a901374a2a611270ad8e9bf83220e81
[cmdline] Make "sleep" command available by default

The "sleep" command is generally useful to have.  For example:

  :dhcp_retry
  dhcp && goto dhcp_done
  sleep 5
  goto dhcp_retry
  :dhcp_done

Make the "sleep" command available by default, leaving TIME_CMD
controlling only the (fairly specialist) "time" command.

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