From 4ef40c02f42fdc9131ae4de86499f8ccf584242d Mon Sep 17 00:00:00 2001 From: Matt Kraai Date: Thu, 12 Apr 2001 20:44:21 +0000 Subject: [PATCH] Another banner consolidation from Larry Doolittle . --- lash.c | 2 +- sh.c | 2 +- shell/lash.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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]); -- 2.25.1