mirror of
https://git.busybox.net/busybox
synced 2026-02-07 20:50:26 +00:00
Add a #define to make init extra quiet on boot.
-Erik
This commit is contained in:
parent
246cc6dddd
commit
ea6b67de65
3 changed files with 21 additions and 4 deletions
|
|
@ -174,3 +174,4 @@
|
|||
//#define BB_FEATURE_INIT_CHROOT
|
||||
#endif
|
||||
//
|
||||
#define BB_FEATURE_EXTRA_QUIET
|
||||
|
|
|
|||
12
init.c
12
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
|
||||
|
|
|
|||
12
init/init.c
12
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue