nixpkgs/test/upstart-jobs/ctrl-alt-delete.nix
Eelco Dolstra 5f212a6913 * Handle ctrl-alt-delete.
svn path=/nixu/trunk/; revision=7111
2006-11-24 00:34:50 +00:00

13 lines
132 B
Nix

{
name = "ctrl-alt-delete";
job = "
on ctrlaltdel
script
shutdown -r now 'Ctrl-Alt-Delete pressed'
end script
";
}