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

Yoann Allain yallain at avilinks.com
Mon May 22 16:26:39 UTC 2006


Hello,

Although I found many subjects related to 'Ctrl-C doesn't work', I 
didn't find one to explain how to ignore these signals during init with 
Busybox.
I would like to avoid any Ctrl-C interrupt the different scripts used 
during init of the system.
I tried using the "trap" command in my shells scripts but I can still 
stop the system init either in my rcS script-shell or in in my linuxrc 
embedded in the initial ramdisk.

I didn't find any configuration option for this purpose so I think that 
the only way to do it is to modify busybox. But perhaps it is simply 
impossible to do because of others issues that I am not aware of...

Does anyone have an idea about this problem?

Many thanks in advance,

Yoann



More information about the busybox mailing list