Reboot vs poweroff 

Newsgroups:  gmane.linux.distributions.grml.user
Date:        Wed, 05 Jul 2006 11:36:21 -0400

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.

Reboot vs poweroff 

> 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

Reboot vs poweroff 

> > 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).

Michael Prokop