[shell] Enable "shell" command even when BANNER_TIMEOUT is zero
authorMichael Brown <mcb30@ipxe.org>
Tue, 1 Aug 2017 19:25:28 +0000 (20:25 +0100)
committerMichael Brown <mcb30@ipxe.org>
Tue, 1 Aug 2017 19:25:28 +0000 (20:25 +0100)
commit7054468d56aead705e20cdaf9f93819d60007fde
treee3dd3121e53b092a2c2cd8458edc94bd1f65c16a
parent936657832f2262ad04bdf16b9229ce0b1d1c174f
[shell] Enable "shell" command even when BANNER_TIMEOUT is zero

Setting BANNER_TIMEOUT to zero removes the only symbol reference to
shell.o, causing the "shell" command to become unavailable.

Add SHELL_CMD in config/general.h (enabled by default) which will
explicitly drag in shell.o regardless of the value of BANNER_TIMEOUT.

Reported-by: Julian Brost <julian@0x4a42.net>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/config/config.c
src/config/general.h