[BusyBox] init.c debug

Robert Schwebel robert at schwebel.de
Fri Mar 7 06:37:05 UTC 2003


On Thu, Mar 06, 2003 at 02:56:10AM -0700, Erik Andersen wrote:
> I'm not sure I understand.  All reboot code in init/init.c is enabled
> and there is no option to disable it. 

Hmm, this is from init/init.c (version taken from CVS): 

----------8<----------
[...]
/* Turn this on to disable all the dangerous 
   rebooting stuff when debugging.
#define DEBUG_INIT
*/
[...]
---------->8----------

The system does not reboot without #undefing this. 

Robert
-- 
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Braunschweiger Str. 79,  31134 Hildesheim, Germany
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
    Phone: +49-5121-28619-0 |  Fax: +49-5121-28619-4



More information about the busybox mailing list