<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Sun, Aug 5, 2018 at 6:21 PM Reindl Harald <<a href="mailto:h.reindl@thelounge.net">h.reindl@thelounge.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">CtrlAltDelBurstAction=<br>
Defines what action will be performed if user presses Ctrl-Alt-Delete<br>
more than 7 times in 2s. Can be set to "reboot-force", "poweroff-force",<br>
"reboot-immediate", "poweroff-immediate" or disabled with "none".<br>
Defaults to "reboot-force"<br>
<br>
[root@srv-rhsoft:~]$ 7~7~<br>
7~7~7~7~7~7~7~7~5~7~5~5~5~5~5~5~5~7~5~5~7~5~5~5~5~5~5~7~7~7~7~7~5~7~7~5~5~7~5~7~7~7~3~3~5~5~7~5~7~7~<br>
<br>
i guess the number appearing in my console is the required key hits<br></blockquote><div><br></div><div>Those are ANSI-style escape codes that your shell doesn't know how to interpret and gives up midway. Specifically, \e[3~ is Delete, \e[5~ is PageUp, \e[7~ is... not even in the default Linux keymap at all, although it's the Home key in urxvt.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
when i keep holding CTRL+ALT and repeatly press DEL it keeps at seven<br>
and for the whole keyboard-combination from scratch i am not phyiscally<br>
made the way it needs to get recognized<br></blockquote><div><br></div><div>As far as I know, systemd does not read any keypresses to begin with. For Ctrl-Alt-Del to work, your console has to be in xlate (non-raw) mode, the console keymap has to map the scancode to "Boot", which causes the kernel to send SIGINT to pid 1, and that's the "Ctrl-Alt-Del was pressed" indication that all inits use.</div><div><br></div><div>So if you're sitting at the actual console, then use Alt-SysRq-R to fix the keyboard mode, and make sure a non-garbage console keymap is loaded.</div><div><br></div><div>And if you're doing this over serial, that doesn't appear to understand Ctrl-Alt-Del at all. According to internets, the serial "break" signal is supposed to do possibly the same thing, or at least something similar (like Alt-SysRq).</div><div><br></div></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Mantas Mikulėnas</div></div></div>