diff options
author | erik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-03-07 07:47:10 +0000 |
---|---|---|
committer | erik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-03-07 07:47:10 +0000 |
commit | b21915982a487a8cb416d91011ca2537bfa129b1 (patch) | |
tree | 2ae4205a236bb8566cc9efb332c686b63ca3c347 /init | |
parent | 7eec702b2195f2572be33045b63022ee0555fcec (diff) | |
download | busybox-w32-b21915982a487a8cb416d91011ca2537bfa129b1.tar.gz busybox-w32-b21915982a487a8cb416d91011ca2537bfa129b1.tar.bz2 busybox-w32-b21915982a487a8cb416d91011ca2537bfa129b1.zip |
Add a #define to make init extra quiet on boot.
-Erik
git-svn-id: svn://busybox.net/trunk/busybox@394 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'init')
-rw-r--r-- | init/init.c | 12 |
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) | |||
843 | 843 | ||
844 | /* Hello world */ | 844 | /* Hello world */ |
845 | #ifndef DEBUG_INIT | 845 | #ifndef DEBUG_INIT |
846 | message(LOG, | 846 | message( |
847 | #if ! defined BB_FEATURE_EXTRA_QUIET | ||
848 | CONSOLE| | ||
849 | #endif | ||
850 | LOG, | ||
847 | "init started: BusyBox v%s (%s) multi-call binary\r\n", | 851 | "init started: BusyBox v%s (%s) multi-call binary\r\n", |
848 | BB_VER, BB_BT); | 852 | BB_VER, BB_BT); |
849 | #else | 853 | #else |
850 | message(LOG, | 854 | message( |
855 | #if ! defined BB_FEATURE_EXTRA_QUIET | ||
856 | CONSOLE| | ||
857 | #endif | ||
858 | LOG, | ||
851 | "init(%d) started: BusyBox v%s (%s) multi-call binary\r\n", | 859 | "init(%d) started: BusyBox v%s (%s) multi-call binary\r\n", |
852 | getpid(), BB_VER, BB_BT); | 860 | getpid(), BB_VER, BB_BT); |
853 | #endif | 861 | #endif |