CTRL-ALT-DEL not working as expected. Seeking for advices

Harald Becker ralda at gmx.de
Wed Feb 19 13:48:52 UTC 2014


Hi !

On 19-02-2014 14:31 Denys Vlasenko <vda.linux at googlemail.com>
wrote:
>> # Trap CTRL-ALT-DELETE
>> null::ctrlaltdel:/sbin/reboot

>Pressing CTRL-ALT-DEL sends SIGINT signal to process 1.
>You want to make sure it reaches it.

Don't forget to set /proc/sys/kernel/ctrl-alt-del to "0" (zero)
to enable sending SIGINT to the init process.

e.g.: echo "0" >/proc/sys/kernel/ctrl-alt-del

Without this most Linux kernel try an immediate reboot without
saving buffers etc., know to fail/hang on some emulators.

--
Harald


More information about the busybox mailing list