whith : runlevel | cut -d ' ' -f2 ....
0 = halt
6 = reboot
Le 06/08/2016 à 18:52, TJF a écrit :
Hi Philippe!
Am Freitag, 5. August 2016 18:13:28 UTC+2 schrieb philippe.frossard:
Is there a way to know if the system halt or reboot ?
There're several ways, depending on the operating system working on
your board. Usually current boards ship with Debian Linux. Check the
output of command
|
uname -a
|
It shoud look like
|
Linuxbeaglebone 3.8.13-bone71 #1 SMP Tue Mar 17 18:07:44 UTC 2015
armv7l GNU/Linux
|
In that case boot and halt process is managed by /systemd. /Find
details at Wikipedia page <https://en.wikipedia.org/wiki/Systemd> and
the links at the bottom.
BR
--
Philippe Frossard
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/beagleboard/817ca1e3-c901-dc08-7f34-0923358c74ce%40free.fr.
For more options, visit https://groups.google.com/d/optout.