
Hi
Where is the behavior defined for, when I press Ctrl-Alt-Del to reboot? Currently it does poweroff instead of reboot, at least in the grml2hd environment.
I want it to be reboot instead, and pressing the power button does the poweroff.
please help. thanks a lot

* T mlist4suntong@yahoo.com [20060705 07:50]:
Where is the behavior defined for, when I press Ctrl-Alt-Del to reboot?
As usual: /etc/inittab
regards, -mika-

On Wed, 05 Jul 2006 01:21:31 -0400, T wrote:
Where is the behavior defined for, when I press Ctrl-Alt-Del to reboot?
got it, /etc/inittab, thank.
# What to do when CTRL-ALT-DEL is pressed. ca::ctrlaltdel:/etc/init 0
I want it to be reboot instead, and pressing the power button does the poweroff.
Is it possible to define the behavior when the power button is pressed as well? 'man init' doesn't seem to cover it. What's the current/default behavior?
thanks

* T mlist4suntong@yahoo.com [20060705 17:50]:
On Wed, 05 Jul 2006 01:21:31 -0400, T wrote:
I want it to be reboot instead, and pressing the power button does the poweroff.
Is it possible to define the behavior when the power button is pressed as well? 'man init' doesn't seem to cover it. What's the current/default behavior?
It's usually handled by acpid and defined in /etc/acpi/powerbtn.sh (thanks for hint, Nico).
regards, -mika-
Teilnehmer (2)
-
Michael Prokop
-
T