X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=shell%2FConfig.src;h=bc7218fe58a95f1ab36f594bac78e36ae8c96e27;hb=e17e8d4b7da27f28956253104218d53328f31995;hp=959d3cb42dfc8ffa3e9f5e2541ff82d4d9ce7cf9;hpb=43b17b1cd0dd3eac740e4770be77db2c9010ad04;p=oweals%2Fbusybox.git diff --git a/shell/Config.src b/shell/Config.src index 959d3cb42..bc7218fe5 100644 --- a/shell/Config.src +++ b/shell/Config.src @@ -161,6 +161,20 @@ config FEATURE_SH_HISTFILESIZE to set shell history size. Note that its max value is capped by "History size" setting in library tuning section. +config FEATURE_SH_EMBEDDED_SCRIPTS + bool "Embed scripts in the binary" + default y + depends on ASH || HUSH || SH_IS_ASH || BASH_IS_ASH || SH_IS_HUSH || BASH_IS_HUSH + help + Allow scripts to be compressed and embedded in the busybox + binary. The scripts should be placed in the 'embed' directory + at build time. Like applets, scripts can be run as + 'busybox SCRIPT ...' or by linking their name to the binary. + + This also allows applets to be implemented as scripts: place + the script in 'applets_sh' and a stub C file containing + configuration in the appropriate subsystem directory. + endif # Options common to all shells endmenu