[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Ctrl+Alt+Del inittab and shutdown



Fabien Salvi wrote:
> 
> Hello.
> 
> When you do Ctrl+Alt+Del, you reboot the machine with the line in inittab :
> 
> # What to do when CTRL-ALT-DEL is pressed.
> ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
> 
> I would like Ctrl+Alt+End to make a halt of the machine, not a reboot.
> How can I do this ?

Repalce -r with -h.

# What to do when CTRL-ALT-DEL is pressed.
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -h now

Hasso


Reply to: