aboutsummaryrefslogtreecommitdiff
path: root/shell/hush.c
diff options
context:
space:
mode:
authorDenys Vlasenko <dvlasenk@redhat.com>2010-09-06 10:18:21 +0200
committerDenys Vlasenko <dvlasenk@redhat.com>2010-09-06 10:18:21 +0200
commit96f064d4161ed66d8db95bf8047eece90959f1e1 (patch)
tree14a9d1f501d6ddcc601d104c45a45d3e4c158b87 /shell/hush.c
parente09bff33412c150a2c4c80ca7e2d5c6b76f10c9f (diff)
downloadbusybox-w32-96f064d4161ed66d8db95bf8047eece90959f1e1.tar.gz
busybox-w32-96f064d4161ed66d8db95bf8047eece90959f1e1.tar.bz2
busybox-w32-96f064d4161ed66d8db95bf8047eece90959f1e1.zip
shell: remove lash and bbsh
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'shell/hush.c')
-rw-r--r--shell/hush.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/shell/hush.c b/shell/hush.c
index 2afe12fea..81811cbb0 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -102,7 +102,6 @@
102 102
103//applet:IF_HUSH(APPLET(hush, _BB_DIR_BIN, _BB_SUID_DROP)) 103//applet:IF_HUSH(APPLET(hush, _BB_DIR_BIN, _BB_SUID_DROP))
104//applet:IF_MSH(APPLET(msh, _BB_DIR_BIN, _BB_SUID_DROP)) 104//applet:IF_MSH(APPLET(msh, _BB_DIR_BIN, _BB_SUID_DROP))
105//applet:IF_LASH(APPLET(lash, _BB_DIR_BIN, _BB_SUID_DROP))
106//applet:IF_FEATURE_SH_IS_HUSH(APPLET_ODDNAME(sh, hush, _BB_DIR_BIN, _BB_SUID_DROP, sh)) 105//applet:IF_FEATURE_SH_IS_HUSH(APPLET_ODDNAME(sh, hush, _BB_DIR_BIN, _BB_SUID_DROP, sh))
107//applet:IF_FEATURE_BASH_IS_HUSH(APPLET_ODDNAME(bash, hush, _BB_DIR_BIN, _BB_SUID_DROP, bash)) 106//applet:IF_FEATURE_BASH_IS_HUSH(APPLET_ODDNAME(bash, hush, _BB_DIR_BIN, _BB_SUID_DROP, bash))
108 107
@@ -223,13 +222,6 @@
223//config: This instructs hush to print commands before execution. 222//config: This instructs hush to print commands before execution.
224//config: Adds ~300 bytes. 223//config: Adds ~300 bytes.
225//config: 224//config:
226//config:config LASH
227//config: bool "lash (deprecated: aliased to hush)"
228//config: default n
229//config: select HUSH
230//config: help
231//config: lash is deprecated and will be removed, please migrate to hush.
232//config:
233//config:config MSH 225//config:config MSH
234//config: bool "msh (deprecated: aliased to hush)" 226//config: bool "msh (deprecated: aliased to hush)"
235//config: default n 227//config: default n
@@ -240,8 +232,6 @@
240 232
241//usage:#define hush_trivial_usage NOUSAGE_STR 233//usage:#define hush_trivial_usage NOUSAGE_STR
242//usage:#define hush_full_usage "" 234//usage:#define hush_full_usage ""
243//usage:#define lash_trivial_usage NOUSAGE_STR
244//usage:#define lash_full_usage ""
245//usage:#define msh_trivial_usage NOUSAGE_STR 235//usage:#define msh_trivial_usage NOUSAGE_STR
246//usage:#define msh_full_usage "" 236//usage:#define msh_full_usage ""
247 237
@@ -7732,15 +7722,6 @@ int hush_main(int argc, char **argv)
7732} 7722}
7733 7723
7734 7724
7735#if ENABLE_LASH
7736int lash_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
7737int lash_main(int argc, char **argv)
7738{
7739 bb_error_msg("lash is deprecated, please use hush instead");
7740 return hush_main(argc, argv);
7741}
7742#endif
7743
7744#if ENABLE_MSH 7725#if ENABLE_MSH
7745int msh_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 7726int msh_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
7746int msh_main(int argc, char **argv) 7727int msh_main(int argc, char **argv)