I've found the solution.. I've tried doing this one..
I turned on the acpid service on the service configuration. Then I created a folder inside /etc/acpi/events named 'power'.
The Script that I typed is this...
event=button/power (PWR.|PBTN)
action=/sbin/poweroff
Hope if anyone would be needing this kind of config it would help... Have a great day...
-stan
|