Tizen 2.0 Release
[external/acpid.git] / samples / power.sh
1 #!/bin/bash
2 # This script is triggered by the "power" configuration file.  This is
3 # described in the acpid man page.
4
5 # A much more comprehensive power button handler is provided in the
6 # powerbtn directory in this samples directory.  If you run gnome or KDE,
7 # it's better to use that one instead of this one.
8
9 /sbin/shutdown -h now "Power button pressed"
10