From: Matt Kraai Date: Thu, 12 Apr 2001 20:44:21 +0000 (-0000) Subject: Another banner consolidation from Larry Doolittle . X-Git-Tag: 0_52~358 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4ef40c02f42fdc9131ae4de86499f8ccf584242d;p=oweals%2Fbusybox.git Another banner consolidation from Larry Doolittle . --- diff --git a/lash.c b/lash.c index 69fcbe6be..243ba8139 100644 --- a/lash.c +++ b/lash.c @@ -1909,7 +1909,7 @@ int shell_main(int argc_l, char **argv_l) if (interactive==TRUE) { //printf( "optind=%d argv[optind]='%s'\n", optind, argv[optind]); /* Looks like they want an interactive shell */ - printf( "\n\nBusyBox v%s (%s) Built-in shell (lash)\n", BB_VER, BB_BT); + printf( "\n\n" BB_BANNER " Built-in shell (lash)\n"); printf( "Enter 'help' for a list of built-in commands.\n\n"); } else if (local_pending_command==NULL) { //printf( "optind=%d argv[optind]='%s'\n", optind, argv[optind]); diff --git a/sh.c b/sh.c index 69fcbe6be..243ba8139 100644 --- a/sh.c +++ b/sh.c @@ -1909,7 +1909,7 @@ int shell_main(int argc_l, char **argv_l) if (interactive==TRUE) { //printf( "optind=%d argv[optind]='%s'\n", optind, argv[optind]); /* Looks like they want an interactive shell */ - printf( "\n\nBusyBox v%s (%s) Built-in shell (lash)\n", BB_VER, BB_BT); + printf( "\n\n" BB_BANNER " Built-in shell (lash)\n"); printf( "Enter 'help' for a list of built-in commands.\n\n"); } else if (local_pending_command==NULL) { //printf( "optind=%d argv[optind]='%s'\n", optind, argv[optind]); diff --git a/shell/lash.c b/shell/lash.c index 69fcbe6be..243ba8139 100644 --- a/shell/lash.c +++ b/shell/lash.c @@ -1909,7 +1909,7 @@ int shell_main(int argc_l, char **argv_l) if (interactive==TRUE) { //printf( "optind=%d argv[optind]='%s'\n", optind, argv[optind]); /* Looks like they want an interactive shell */ - printf( "\n\nBusyBox v%s (%s) Built-in shell (lash)\n", BB_VER, BB_BT); + printf( "\n\n" BB_BANNER " Built-in shell (lash)\n"); printf( "Enter 'help' for a list of built-in commands.\n\n"); } else if (local_pending_command==NULL) { //printf( "optind=%d argv[optind]='%s'\n", optind, argv[optind]);