Viitor_upstart/etc/event.d/control-alt-delete

10 lines
281 B
Plaintext
Raw Normal View History

# control-alt-delete - emergency keypress handling
#
# This task is run whenever the Control-Alt-Delete key combination is
# pressed. Usually used to shut down the machine.
start on control-alt-delete
emit shutdown
exec /sbin/shutdown -t1 -a -r now "Control-Alt-Delete pressed"