mirror of
https://github.com/sheumann/hush.git
synced 2024-08-20 04:28:57 +00:00
Add a #define to make init extra quiet on boot.
-Erik
This commit is contained in:
parent
246cc6dddd
commit
ea6b67de65
@ -174,3 +174,4 @@
|
|||||||
//#define BB_FEATURE_INIT_CHROOT
|
//#define BB_FEATURE_INIT_CHROOT
|
||||||
#endif
|
#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 */
|
/* Hello world */
|
||||||
#ifndef DEBUG_INIT
|
#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",
|
"init started: BusyBox v%s (%s) multi-call binary\r\n",
|
||||||
BB_VER, BB_BT);
|
BB_VER, BB_BT);
|
||||||
#else
|
#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",
|
"init(%d) started: BusyBox v%s (%s) multi-call binary\r\n",
|
||||||
getpid(), BB_VER, BB_BT);
|
getpid(), BB_VER, BB_BT);
|
||||||
#endif
|
#endif
|
||||||
|
12
init/init.c
12
init/init.c
@ -843,11 +843,19 @@ extern int init_main(int argc, char **argv)
|
|||||||
|
|
||||||
/* Hello world */
|
/* Hello world */
|
||||||
#ifndef DEBUG_INIT
|
#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",
|
"init started: BusyBox v%s (%s) multi-call binary\r\n",
|
||||||
BB_VER, BB_BT);
|
BB_VER, BB_BT);
|
||||||
#else
|
#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",
|
"init(%d) started: BusyBox v%s (%s) multi-call binary\r\n",
|
||||||
getpid(), BB_VER, BB_BT);
|
getpid(), BB_VER, BB_BT);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user