summaryrefslogtreecommitdiffhomepage
path: root/init/init.c
diff options
context:
space:
mode:
authorErik Andersen <andersen@codepoet.org>2000-03-07 07:47:10 +0000
committerErik Andersen <andersen@codepoet.org>2000-03-07 07:47:10 +0000
commitea6b67de65bfc13544d21fd54ace02b23609cf12 (patch)
tree2ae4205a236bb8566cc9efb332c686b63ca3c347 /init/init.c
parent246cc6dddd3df2164e8a925ebd8e9a7bba379253 (diff)
Add a #define to make init extra quiet on boot.
-Erik
Diffstat (limited to 'init/init.c')
-rw-r--r--init/init.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/init/init.c b/init/init.c
index 350ea62a8..8e28f076f 100644
--- a/init/init.c
+++ b/init/init.c
@@ -843,11 +843,19 @@ extern int init_main(int argc, char **argv)
/* Hello world */
#ifndef DEBUG_INIT
- message(LOG,
+ message(
+#if ! defined BB_FEATURE_EXTRA_QUIET
+ CONSOLE|
+#endif
+ LOG,
"init started: BusyBox v%s (%s) multi-call binary\r\n",
BB_VER, BB_BT);
#else
- message(LOG,
+ message(
+#if ! defined BB_FEATURE_EXTRA_QUIET
+ CONSOLE|
+#endif
+ LOG,
"init(%d) started: BusyBox v%s (%s) multi-call binary\r\n",
getpid(), BB_VER, BB_BT);
#endif