<keybind key="C-A-Delete" chroot="true">
<keybind key="r">
<action name="Execute">
<prompt>Reiniciar o sistema?</prompt>
<execute>reboot</execute>
</action>
</keybind>
<keybind key="x">
<action name="Execute">
<prompt>Desligar o sistema?</prompt>
<execute>poweroff</execute>
</action>
</keybind>
<keybind key="Escape">
<action name="BreakChroot"/>
</keybind>
Doing so, when pressing ctrl+alt+del you'll be sent into a chroot that allows you to press x or r, the first will prompt a message to shutdown the system and the other, to restart it. If "yes" is chosen, the magic's done. Hope you like the tip.
Nenhum comentário:
Postar um comentário