Re: [beagleboard] How to shut down BBB

3,864 views
Skip to first unread message

Gerald Coley

unread,
May 22, 2013, 8:09:41 AM5/22/13
to beagl...@googlegroups.com
There is a shutdown command on the desktop. You can shut it down from the serial terminal by typing "shutdown". 

Gerald



On Tue, May 21, 2013 at 10:31 PM, Tianlan Wang <azur...@gmail.com> wrote:

I am new to BBB, new to linux. This question might be silly. But I couldn't find the proper way to shut down BBB?
There is no command "shutdown".
All I found it a power button, but you have to push it for 8sec, then release it after all the LEDs go off. And guess the time it requires to shut itself down.
I think if I unplug it directly, it might create some corrupted date if the OS is writing something at the same time.

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Gerald
 

Robert P. J. Day

unread,
May 22, 2013, 8:29:03 AM5/22/13
to beagl...@googlegroups.com
On Wed, 22 May 2013, Gerald Coley wrote:

> There is a shutdown command on the desktop. You can shut it down
> from the serial terminal by typing "shutdown".�

i use "init 0". force of habit.

rday

--

========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca

Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================

Tianlan Wang

unread,
May 22, 2013, 11:29:36 AM5/22/13
to beagl...@googlegroups.com
The reason I do not have "shutdown" command is that I was not a root user. I guess the onboard powerdown button will do the same when we do not have a terminal access. Is it correct??

在 2013年5月22日星期三UTC-4上午8时09分41秒,Gerald写道:

Gerald Coley

unread,
May 22, 2013, 11:31:01 AM5/22/13
to beagl...@googlegroups.com
Nope. I can't get it supported in software. It should. It can. That is what it is there for. But, the SW folks seem to be mystified by it.

Gerald

Dieter Wirz

unread,
May 22, 2013, 1:06:42 PM5/22/13
to beagl...@googlegroups.com
Usually shutdown as regular user is allowed with sudo:
first install sudo
then add "user ALL=NOPASSWD: /sbin/shutdown" with visudo to sudoers
# sudo shutdown -h now
will shutdown without any password

You might prefer to change the suid bit:
chmod a+s /sbin/shutdown (see man chmod)
then
# shutdown -h now
without sudo is sufficiant....

HTH
Reply all
Reply to author
Forward
0 new messages