On Saturday, March 21, 2015 11:52:45 PM Emanuele Rusconi wrote:
> Ctrl-Alt-Del can be set to do what you want.
> 
> I have this in my /etc/inittab:
> 
>     ca:12345:ctrlaltdel:/sbin/shutdown -P now
> 
> This way Ctrl-Alt-Del calls power off instead of reboot.
> So to shutdown I just exit from Openbox and press Ctrl-Alt-Del.
> 
> -- Emanuele Rusconi

Also sysvinit specific.
On systemd you need to copy /usr/lib/systemd/system/ctrl-alt-del.target to 
/etc/systemd/system and edit that file.

-- 
Fernando Rodriguez

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to