aboutsummaryrefslogtreecommitdiffstats
set-ctrlaltdel

linux-supplements
Software
0x53.net

The set-ctrlaltdel program

set-ctrlaltdel sets the action done upon pressing the CTRL + ALT + DEL key combination.

Interface

     set-ctrlaltdel -h | -s

Options

  • -h: Instruct the Linux Kernel to instantly reboot without a proper shutdown sequence upon pressing the key combination.
  • -s: Instruct the Linux Kernel to send SIGINT to init (PID 1), which, in the case of goetia, initiates an orderly shutdown sequence.

Exit codes

  • 100: wrong usage.
  • 111: system call failed.