aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/Config.in7
-rw-r--r--shell/Kbuild1
-rw-r--r--shell/hush.c9
-rw-r--r--shell/msh_unused.c (renamed from shell/msh.c)0
4 files changed, 13 insertions, 4 deletions
diff --git a/shell/Config.in b/shell/Config.in
index 126dba8e5..cf151933b 100644
--- a/shell/Config.in
+++ b/shell/Config.in
@@ -24,9 +24,9 @@ config FEATURE_SH_IS_HUSH
24#### select LASH 24#### select LASH
25#### bool "lash" 25#### bool "lash"
26 26
27config FEATURE_SH_IS_MSH 27####config FEATURE_SH_IS_MSH
28 select MSH 28#### select MSH
29 bool "msh" 29#### bool "msh"
30 30
31config FEATURE_SH_IS_NONE 31config FEATURE_SH_IS_NONE
32 bool "none" 32 bool "none"
@@ -260,6 +260,7 @@ config LASH
260config MSH 260config MSH
261 bool "msh (deprecated: please use hush)" 261 bool "msh (deprecated: please use hush)"
262 default n 262 default n
263 select HUSH
263 help 264 help
264 msh is deprecated and will be removed, please migrate to hush. 265 msh is deprecated and will be removed, please migrate to hush.
265 If there is a feature msh has but hush does not, please let us know. 266 If there is a feature msh has but hush does not, please let us know.
diff --git a/shell/Kbuild b/shell/Kbuild
index 8b693ecc3..4d4741eff 100644
--- a/shell/Kbuild
+++ b/shell/Kbuild
@@ -7,6 +7,5 @@
7lib-y:= 7lib-y:=
8lib-$(CONFIG_ASH) += ash.o ash_ptr_hack.o 8lib-$(CONFIG_ASH) += ash.o ash_ptr_hack.o
9lib-$(CONFIG_HUSH) += hush.o match.o 9lib-$(CONFIG_HUSH) += hush.o match.o
10lib-$(CONFIG_MSH) += msh.o
11lib-$(CONFIG_CTTYHACK) += cttyhack.o 10lib-$(CONFIG_CTTYHACK) += cttyhack.o
12lib-$(CONFIG_SH_MATH_SUPPORT) += math.o 11lib-$(CONFIG_SH_MATH_SUPPORT) += math.o
diff --git a/shell/hush.c b/shell/hush.c
index 5698bb5a5..7ac29ace2 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -6746,6 +6746,15 @@ int lash_main(int argc, char **argv)
6746} 6746}
6747#endif 6747#endif
6748 6748
6749#if ENABLE_MSH
6750int msh_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
6751int msh_main(int argc, char **argv)
6752{
6753 //bb_error_msg("msh is deprecated, please use hush instead");
6754 return hush_main(argc, argv);
6755}
6756#endif
6757
6749 6758
6750/* 6759/*
6751 * Built-ins 6760 * Built-ins
diff --git a/shell/msh.c b/shell/msh_unused.c
index fe85a8170..fe85a8170 100644
--- a/shell/msh.c
+++ b/shell/msh_unused.c