[PATCH] docs: add embedded-scripts.txt
Denys Vlasenko
vda.linux at googlemail.com
Tue Nov 27 11:35:07 UTC 2018
On Tue, Nov 27, 2018 at 11:45 AM Ron Yorston <rmy at pobox.com> wrote:
> Signed-off-by: Ron Yorston <rmy at pobox.com>
> ---
> docs/embedded-scripts.txt | 116 ++++++++++++++++++++++++++++++++++++++
> 1 file changed, 116 insertions(+)
> create mode 100644 docs/embedded-scripts.txt
>
> diff --git a/docs/embedded-scripts.txt b/docs/embedded-scripts.txt
> new file mode 100644
> index 000000000..4d5a865ed
> --- /dev/null
> +++ b/docs/embedded-scripts.txt
> @@ -0,0 +1,116 @@
> +Embedded Shell Scripts in BusyBox
> +=================================
> +
> +BusyBox allows applets to be implemented as shell scripts. Since
> +this obviously requires a shell to interpret the scripts the feature
> +depends on having a shell (specifically, ash) built into the binary.
> +Support for embedded scripts also has to be enabled.
> +
> +To embed scripts in BusyBox you must enable these configuration options:
> +
> + ASH
> + ASH_EMBEDDED_SCRIPTS
Applying, thanks.
How about adding support for embedded scripts if hush shell is selected,
and ash is not?
+//config:config MU_DEPENDENCIES
+//config: bool "Dependencies for mu"
+//config: default y
+//config: depends on MU
+//config: select ASH_RANDOM_SUPPORT
+//config: select FEATURE_SH_MATH
+//config: help
+//config: mu is implemented as a shell script. It requires ash
+//config: support for $RANDOM and arithmetic.
How about?
config: bool "Enable dependencies for mu"
More information about the busybox
mailing list