aboutsummaryrefslogtreecommitdiff
path: root/shell/hush.c
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-10-19 00:22:23 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-10-19 00:22:23 +0000
commit73c2b45701b07d29d8d7e55a0e980af385ad5280 (patch)
tree1c5995c19999e51b9ed93ee12c2b4a8b421bdcd1 /shell/hush.c
parent2c3429d07cd0e129d8a7f26f9f61d8f4200504b4 (diff)
downloadbusybox-w32-73c2b45701b07d29d8d7e55a0e980af385ad5280.tar.gz
busybox-w32-73c2b45701b07d29d8d7e55a0e980af385ad5280.tar.bz2
busybox-w32-73c2b45701b07d29d8d7e55a0e980af385ad5280.zip
Add an option to make the shells not advertise their busybox nature
git-svn-id: svn://busybox.net/trunk/busybox@3548 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'shell/hush.c')
-rw-r--r--shell/hush.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/shell/hush.c b/shell/hush.c
index 0e619f80e..cb0e6e980 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -2655,7 +2655,10 @@ int hush_main(int argc, char **argv)
2655 debug_printf("\ninteractive=%d\n", interactive); 2655 debug_printf("\ninteractive=%d\n", interactive);
2656 if (interactive) { 2656 if (interactive) {
2657 /* Looks like they want an interactive shell */ 2657 /* Looks like they want an interactive shell */
2658 fprintf(stdout, "\nhush -- the humble shell v0.01 (testing)\n\n"); 2658#ifndef BB_FEATURE_SH_EXTRA_QUIET
2659 printf( "\n\n" BB_BANNER " hush - the humble shell v0.01 (testing)\n");
2660 printf( "Enter 'help' for a list of built-in commands.\n\n");
2661#endif
2659 setup_job_control(); 2662 setup_job_control();
2660 } 2663 }
2661 2664