aboutsummaryrefslogtreecommitdiff
path: root/shell/hush.c
diff options
context:
space:
mode:
author"Vladimir N. Oleynik" <dzo@simtreas.ru>2006-02-16 15:40:24 +0000
committer"Vladimir N. Oleynik" <dzo@simtreas.ru>2006-02-16 15:40:24 +0000
commitdd1ccddf1b33972966760857092eb9b659b7a40a (patch)
tree311c032dd6a55cc3923e744d8e888d9edd9ede44 /shell/hush.c
parent21e68703ce35805ff8b9590c22a400de05155ac2 (diff)
downloadbusybox-w32-dd1ccddf1b33972966760857092eb9b659b7a40a.tar.gz
busybox-w32-dd1ccddf1b33972966760857092eb9b659b7a40a.tar.bz2
busybox-w32-dd1ccddf1b33972966760857092eb9b659b7a40a.zip
moved BB_BANNER to applets/version.c file: make kernel like version,
removed depend loop: busybox.h depend with BB_BT, and all sources depend with busybox.h
Diffstat (limited to 'shell/hush.c')
-rw-r--r--shell/hush.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/shell/hush.c b/shell/hush.c
index 8b6cbe7c9..387b6cd7a 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -104,7 +104,7 @@
104#include "standalone.h" 104#include "standalone.h"
105#define hush_main main 105#define hush_main main
106#undef CONFIG_FEATURE_SH_FANCY_PROMPT 106#undef CONFIG_FEATURE_SH_FANCY_PROMPT
107#define BB_BANNER 107#define BB_BANNER ""
108#endif 108#endif
109#define SPECIAL_VAR_SYMBOL 03 109#define SPECIAL_VAR_SYMBOL 03
110#define FLAG_EXIT_FROM_LOOP 1 110#define FLAG_EXIT_FROM_LOOP 1
@@ -2812,7 +2812,8 @@ int hush_main(int argc, char **argv)
2812 if (interactive) { 2812 if (interactive) {
2813 /* Looks like they want an interactive shell */ 2813 /* Looks like they want an interactive shell */
2814#ifndef CONFIG_FEATURE_SH_EXTRA_QUIET 2814#ifndef CONFIG_FEATURE_SH_EXTRA_QUIET
2815 printf( "\n\n" BB_BANNER " hush - the humble shell v0.01 (testing)\n"); 2815 printf( "\n\n%s hush - the humble shell v0.01 (testing)\n",
2816 BB_BANNER);
2816 printf( "Enter 'help' for a list of built-in commands.\n\n"); 2817 printf( "Enter 'help' for a list of built-in commands.\n\n");
2817#endif 2818#endif
2818 setup_job_control(); 2819 setup_job_control();