aboutsummaryrefslogtreecommitdiff
path: root/lash.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-10-19 00:22:23 +0000
committerEric Andersen <andersen@codepoet.org>2001-10-19 00:22:23 +0000
commitd63dee4019a62d1c5bb31755d9866ef921aff76b (patch)
tree1c5995c19999e51b9ed93ee12c2b4a8b421bdcd1 /lash.c
parentf4c208937c997f9b65e77b9304a527b03349d219 (diff)
downloadbusybox-d63dee4019a62d1c5bb31755d9866ef921aff76b.tar.gz
Add an option to make the shells not advertise their busybox nature
Diffstat (limited to 'lash.c')
-rw-r--r--lash.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lash.c b/lash.c
index b3f7cb6a8..ffdec8781 100644
--- a/lash.c
+++ b/lash.c
@@ -1611,8 +1611,10 @@ int lash_main(int argc_l, char **argv_l)
if (interactive==TRUE) {
//printf( "optind=%d argv[optind]='%s'\n", optind, argv[optind]);
/* Looks like they want an interactive shell */
+#ifndef BB_FEATURE_SH_EXTRA_QUIET
printf( "\n\n" BB_BANNER " Built-in shell (lash)\n");
printf( "Enter 'help' for a list of built-in commands.\n\n");
+#endif
} else if (local_pending_command==NULL) {
//printf( "optind=%d argv[optind]='%s'\n", optind, argv[optind]);
input = xfopen(argv[optind], "r");