diff options
author | Eric Andersen | 2001-10-19 00:22:23 +0000 |
---|---|---|
committer | Eric Andersen | 2001-10-19 00:22:23 +0000 |
commit | d63dee4019a62d1c5bb31755d9866ef921aff76b (patch) | |
tree | 1c5995c19999e51b9ed93ee12c2b4a8b421bdcd1 /shell/hush.c | |
parent | f4c208937c997f9b65e77b9304a527b03349d219 (diff) | |
download | busybox-d63dee4019a62d1c5bb31755d9866ef921aff76b.zip busybox-d63dee4019a62d1c5bb31755d9866ef921aff76b.tar.gz |
Add an option to make the shells not advertise their busybox nature
Diffstat (limited to 'shell/hush.c')
-rw-r--r-- | shell/hush.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/shell/hush.c b/shell/hush.c index 0e619f8..cb0e6e9 100644 --- a/shell/hush.c +++ b/shell/hush.c @@ -2655,7 +2655,10 @@ int hush_main(int argc, char **argv) debug_printf("\ninteractive=%d\n", interactive); if (interactive) { /* Looks like they want an interactive shell */ - fprintf(stdout, "\nhush -- the humble shell v0.01 (testing)\n\n"); +#ifndef BB_FEATURE_SH_EXTRA_QUIET + printf( "\n\n" BB_BANNER " hush - the humble shell v0.01 (testing)\n"); + printf( "Enter 'help' for a list of built-in commands.\n\n"); +#endif setup_job_control(); } |