Skip to content

Instantly share code, notes, and snippets.

@jasonroelofs
Created February 27, 2012 18:44
Show Gist options
  • Save jasonroelofs/1926110 to your computer and use it in GitHub Desktop.
Save jasonroelofs/1926110 to your computer and use it in GitHub Desktop.
Ubuntu 10.04 LTS Upstart config handles CTRL-ALT-DELETE
# control-alt-delete - emergency keypress handling
#
# This task is run whenever the Control-Alt-Delete key combination is
# pressed, and performs a safe reboot of the machine.
description "emergency keypress handling"
author "Scott James Remnant <[email protected]>"
start on control-alt-delete
task
exec shutdown -r now "Control-Alt-Delete pressed"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment