diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-10-19 00:22:23 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-10-19 00:22:23 +0000 |
commit | 73c2b45701b07d29d8d7e55a0e980af385ad5280 (patch) | |
tree | 1c5995c19999e51b9ed93ee12c2b4a8b421bdcd1 /shell/lash.c | |
parent | 2c3429d07cd0e129d8a7f26f9f61d8f4200504b4 (diff) | |
download | busybox-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/lash.c')
-rw-r--r-- | shell/lash.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/lash.c b/shell/lash.c index b3f7cb6a8..ffdec8781 100644 --- a/shell/lash.c +++ b/shell/lash.c | |||
@@ -1611,8 +1611,10 @@ int lash_main(int argc_l, char **argv_l) | |||
1611 | if (interactive==TRUE) { | 1611 | if (interactive==TRUE) { |
1612 | //printf( "optind=%d argv[optind]='%s'\n", optind, argv[optind]); | 1612 | //printf( "optind=%d argv[optind]='%s'\n", optind, argv[optind]); |
1613 | /* Looks like they want an interactive shell */ | 1613 | /* Looks like they want an interactive shell */ |
1614 | #ifndef BB_FEATURE_SH_EXTRA_QUIET | ||
1614 | printf( "\n\n" BB_BANNER " Built-in shell (lash)\n"); | 1615 | printf( "\n\n" BB_BANNER " Built-in shell (lash)\n"); |
1615 | printf( "Enter 'help' for a list of built-in commands.\n\n"); | 1616 | printf( "Enter 'help' for a list of built-in commands.\n\n"); |
1617 | #endif | ||
1616 | } else if (local_pending_command==NULL) { | 1618 | } else if (local_pending_command==NULL) { |
1617 | //printf( "optind=%d argv[optind]='%s'\n", optind, argv[optind]); | 1619 | //printf( "optind=%d argv[optind]='%s'\n", optind, argv[optind]); |
1618 | input = xfopen(argv[optind], "r"); | 1620 | input = xfopen(argv[optind], "r"); |