mirror of
https://github.com/ipxe/ipxe
synced 2026-01-01 09:09:32 +03:00
[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>
This commit is contained in:
@@ -134,6 +134,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
|
||||
#define MENU_CMD /* Menu commands */
|
||||
#define LOGIN_CMD /* Login command */
|
||||
#define SYNC_CMD /* Sync command */
|
||||
#define SHELL_CMD /* Shell command */
|
||||
//#define NSLOOKUP_CMD /* DNS resolving command */
|
||||
//#define TIME_CMD /* Time commands */
|
||||
//#define DIGEST_CMD /* Image crypto digest commands */
|
||||
|
||||
Reference in New Issue
Block a user