1 |
On Saturday, March 21, 2015 11:52:45 PM Emanuele Rusconi wrote: |
2 |
> Ctrl-Alt-Del can be set to do what you want. |
3 |
> |
4 |
> I have this in my /etc/inittab: |
5 |
> |
6 |
> ca:12345:ctrlaltdel:/sbin/shutdown -P now |
7 |
> |
8 |
> This way Ctrl-Alt-Del calls power off instead of reboot. |
9 |
> So to shutdown I just exit from Openbox and press Ctrl-Alt-Del. |
10 |
> |
11 |
> -- Emanuele Rusconi |
12 |
|
13 |
Also sysvinit specific. |
14 |
On systemd you need to copy /usr/lib/systemd/system/ctrl-alt-del.target to |
15 |
/etc/systemd/system and edit that file. |
16 |
|
17 |
-- |
18 |
Fernando Rodriguez |