mirror of
https://github.com/troglobit/finit.git
synced 2026-10-30 12:50:34 +00:00
Enable mdev logging when Finit runs in debug mode
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
f38dfaf2dc
commit
eb59155dad
1 file changed
+4
@@ -119,6 +119,10 @@ int main(int argc, char* argv[])
|
|||||||
/*
|
/*
|
||||||
* Populate /dev and prepare for runtime events from kernel.
|
* Populate /dev and prepare for runtime events from kernel.
|
||||||
*/
|
*/
|
||||||
|
#ifdef EMBEDDED_SYSTEM
|
||||||
|
if (debug)
|
||||||
|
touch("/dev/mdev.log");
|
||||||
|
#endif
|
||||||
run_interactive(SETUP_DEVFS, "Populating device tree");
|
run_interactive(SETUP_DEVFS, "Populating device tree");
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in new issue
Block a user