BusyBox, Dash, and Bash all allow installation of the /usr/bin/sh symbolic link to their respective executable, busybox, dash or bash.
This patch series only allows Dash to install the /usr/bin/sh symlink if it is not installed by BusyBox (unless overridden by the ALLYES config option), and only allows Bash to install the /usr/bin/sh symlink if it is not installed by either BusyBox or Dash (unless overridden by the ALLYES config option). Bash is powerful but slow compared to BusyBox or Dash shells, so it is common to install a faster shell for executing shell scripts that typically use /bin/sh as the interpreter selected by their "shebang" line, and reserve Bash for use mostly as the interactive login shell. Patches: 1) dash: install /usr/bin/sh symlink by default if not provided by BusyBox 2) bash: allow installation of /usr/bin/sh symlink to be chosen manually rules/bash.in | 14 +++++++++++++- rules/dash.in | 5 +++++ 2 files changed, 18 insertions(+), 1 deletion(-)
