How to disable Ctrl-C during init (initial ramdisk / normal init)

Yoann Allain yallain at avilinks.com
Tue May 23 12:58:17 UTC 2006



Michael S. Zick a écrit :

>On Tue May 23 2006 03:08, Yoann Allain wrote:
>  
>
>>But if you put these lines in /linuxrc, you can still avoid them to be 
>>executed by permanently pressing ctrl-c when the system starts. And this 
>>is my problem.
>>Do you have any idea?
>>
>>TIA,     Yoann
>>
>>    
>>
>
>Do not permanently press ctrl-c while your system starts.
>
>This behavior of BB init is the same as its big brother(s).
>They respond to terminal controls until they drop the terminal,
>some continue to do so after they drop the terminal.
>
>You can also ctrl-s/ctrl-q the standard init.
>(In case you run out of paper in your tty while the system
>is booting.)
>
>Mike
>_______________________________________________
>busybox mailing list
>busybox at busybox.net
>http://busybox.net/cgi-bin/mailman/listinfo/busybox
>
>
>  
>

Ok thanks,

So the only way to avoid a customer to stop the box while launching, is 
to modify the code in order to ignore these signals...
Or perhaps there is a way to disable stdin on console during critical 
phase of init?

Many thanks,

Yoann




More information about the busybox mailing list