aboutsummaryrefslogtreecommitdiff
path: root/msh.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 /msh.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 'msh.c')
-rw-r--r--msh.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/msh.c b/msh.c
index e16d6f304..5c4ec1019 100644
--- a/msh.c
+++ b/msh.c
@@ -801,8 +801,10 @@ extern int msh_main(int argc, char **argv)
801 PUSHIO(afile, 0, iof); 801 PUSHIO(afile, 0, iof);
802 if (isatty(0) && isatty(1) && !cflag) { 802 if (isatty(0) && isatty(1) && !cflag) {
803 interactive++; 803 interactive++;
804#ifndef BB_FEATURE_SH_EXTRA_QUIET
804 printf( "\n\n" BB_BANNER " Built-in shell (msh)\n"); 805 printf( "\n\n" BB_BANNER " Built-in shell (msh)\n");
805 printf( "Enter 'help' for a list of built-in commands.\n\n"); 806 printf( "Enter 'help' for a list of built-in commands.\n\n");
807#endif
806 } 808 }
807 } 809 }
808 signal(SIGQUIT, qflag); 810 signal(SIGQUIT, qflag);