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 /ash.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 'ash.c')
-rw-r--r-- | ash.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -3224,8 +3224,10 @@ setinteractive(int on) | |||
3224 | is_interactive = on; | 3224 | is_interactive = on; |
3225 | if (do_banner==0 && is_interactive) { | 3225 | if (do_banner==0 && is_interactive) { |
3226 | /* Looks like they want an interactive shell */ | 3226 | /* Looks like they want an interactive shell */ |
3227 | #ifndef BB_FEATURE_SH_EXTRA_QUIET | ||
3227 | printf( "\n\n" BB_BANNER " Built-in shell (ash)\n"); | 3228 | printf( "\n\n" BB_BANNER " Built-in shell (ash)\n"); |
3228 | printf( "Enter 'help' for a list of built-in commands.\n\n"); | 3229 | printf( "Enter 'help' for a list of built-in commands.\n\n"); |
3230 | #endif | ||
3229 | do_banner=1; | 3231 | do_banner=1; |
3230 | } | 3232 | } |
3231 | } | 3233 | } |
@@ -12728,7 +12730,7 @@ findvar(struct var **vpp, const char *name) | |||
12728 | /* | 12730 | /* |
12729 | * Copyright (c) 1999 Herbert Xu <herbert@debian.org> | 12731 | * Copyright (c) 1999 Herbert Xu <herbert@debian.org> |
12730 | * This file contains code for the times builtin. | 12732 | * This file contains code for the times builtin. |
12731 | * $Id: ash.c,v 1.27 2001/10/19 00:08:17 andersen Exp $ | 12733 | * $Id: ash.c,v 1.28 2001/10/19 00:22:22 andersen Exp $ |
12732 | */ | 12734 | */ |
12733 | static int timescmd (int argc, char **argv) | 12735 | static int timescmd (int argc, char **argv) |
12734 | { | 12736 | { |