First install acpid:
root@beagle1:/home/james# apt-get install acpid
Now test the shutdown. Press the Power button:
root@beagle1:/home/james#
Broadcast message from root@beagle1 (Fri Sep 27 01:13:49 2013):
Power button pressed
The system is going down for system halt NOW!
Connection to 192.168.1.116 closed by remote host.
Connection to 192.168.1.116 closed.
Installed system was Debian 7.1
james@beagle1:~$ more /etc/debian_version
7.1
james@beagle1:~$ uname -a
Linux beagle1 3.8.13-bone26 #1 SMP Fri Aug 16 20:56:24 UTC 2013 armv7l GNU/Linux
Hi James. I'm using Ubuntu 14.04 on my BeagleboneBlack. Any way how I can do this on Ubuntu 14.04 ? tried a lot but so far no luck.
ReplyDeleteThanks
Amien