Both CONFIG_SHELL_HUSH and CONFIG_SHELL_SIMPLE will call run_init, which already uses glob to collect the init scripts to run. select GLOB to make sure that these scripts are executed. If there is a use case for a shell configuration without glob support to save on size, this should be realized by a new Kconfig symbol to disable the init scripts. Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> --- common/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/Kconfig b/common/Kconfig index 8abd47a7569a..342817bbcbb4 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -413,6 +413,7 @@ choice select PARAMETER select BINFMT select STDDEV + select GLOB help Enable hush support. This is the most advanced shell available for barebox. @@ -424,6 +425,7 @@ choice select PARAMETER select STDDEV select CMD_SETENV + select GLOB help simple shell. No if/then, no return values from commands, no loops -- 2.29.2 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox