diff options
author | Casey Dahlin <cdahlin@redhat.com> | 2008-07-23 09:48:23 -0400 |
---|---|---|
committer | Casey Dahlin <cdahlin@redhat.com> | 2008-07-23 09:48:23 -0400 |
commit | 01fecfecdb440d81435690c63d28909c5edd34de (patch) | |
tree | 0700ba7f0da1a17e974ad77826f8011b7e77443f /jobs.d/control-alt-delete | |
parent | 51f5d4923f3ab0025708df3d20efd45fe5437e92 (diff) | |
download | initscripts-master.tar.gz initscripts-master.tar.xz initscripts-master.zip |
New job definitions, in a new location, in a new format
Diffstat (limited to 'jobs.d/control-alt-delete')
-rw-r--r-- | jobs.d/control-alt-delete | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/jobs.d/control-alt-delete b/jobs.d/control-alt-delete new file mode 100644 index 00000000..35cb1305 --- /dev/null +++ b/jobs.d/control-alt-delete @@ -0,0 +1,8 @@ +# 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 + +exec /sbin/shutdown -r now "Control-Alt-Delete pressed" |