mirror of
https://github.com/sheumann/hush.git
synced 2025-08-09 09:25:33 +00:00
Another banner consolidation from Larry Doolittle <ldoolitt@recycle.lbl.gov>.
This commit is contained in:
2
lash.c
2
lash.c
@@ -1909,7 +1909,7 @@ int shell_main(int argc_l, char **argv_l)
|
|||||||
if (interactive==TRUE) {
|
if (interactive==TRUE) {
|
||||||
//printf( "optind=%d argv[optind]='%s'\n", optind, argv[optind]);
|
//printf( "optind=%d argv[optind]='%s'\n", optind, argv[optind]);
|
||||||
/* Looks like they want an interactive shell */
|
/* 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");
|
printf( "Enter 'help' for a list of built-in commands.\n\n");
|
||||||
} else if (local_pending_command==NULL) {
|
} else if (local_pending_command==NULL) {
|
||||||
//printf( "optind=%d argv[optind]='%s'\n", optind, argv[optind]);
|
//printf( "optind=%d argv[optind]='%s'\n", optind, argv[optind]);
|
||||||
|
2
sh.c
2
sh.c
@@ -1909,7 +1909,7 @@ int shell_main(int argc_l, char **argv_l)
|
|||||||
if (interactive==TRUE) {
|
if (interactive==TRUE) {
|
||||||
//printf( "optind=%d argv[optind]='%s'\n", optind, argv[optind]);
|
//printf( "optind=%d argv[optind]='%s'\n", optind, argv[optind]);
|
||||||
/* Looks like they want an interactive shell */
|
/* 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");
|
printf( "Enter 'help' for a list of built-in commands.\n\n");
|
||||||
} else if (local_pending_command==NULL) {
|
} else if (local_pending_command==NULL) {
|
||||||
//printf( "optind=%d argv[optind]='%s'\n", optind, argv[optind]);
|
//printf( "optind=%d argv[optind]='%s'\n", optind, argv[optind]);
|
||||||
|
@@ -1909,7 +1909,7 @@ int shell_main(int argc_l, char **argv_l)
|
|||||||
if (interactive==TRUE) {
|
if (interactive==TRUE) {
|
||||||
//printf( "optind=%d argv[optind]='%s'\n", optind, argv[optind]);
|
//printf( "optind=%d argv[optind]='%s'\n", optind, argv[optind]);
|
||||||
/* Looks like they want an interactive shell */
|
/* 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");
|
printf( "Enter 'help' for a list of built-in commands.\n\n");
|
||||||
} else if (local_pending_command==NULL) {
|
} else if (local_pending_command==NULL) {
|
||||||
//printf( "optind=%d argv[optind]='%s'\n", optind, argv[optind]);
|
//printf( "optind=%d argv[optind]='%s'\n", optind, argv[optind]);
|
||||||
|
Reference in New Issue
Block a user