get XO id via bash

Sascha Silbe sascha-ml-reply-to-2011-2 at silbe.org
Fri Feb 25 14:08:21 EST 2011


Excerpts from Sameer Verma's message of Fri Feb 25 19:53:54 +0100 2011:

> Anyone know how to get the XO unique identifier using bash?

On OLPC kernels:

sn="$(cat /ofw/mfg-data/SN)"
uuid="$(cat /ofw/mfg-data/U#"

For mainline kernels the path is slightly different.

Sascha

-- 
http://sascha.silbe.org/
http://www.infra-silbe.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 494 bytes
Desc: not available
URL: <http://lists.laptop.org/pipermail/devel/attachments/20110225/2a817319/attachment.sig>


More information about the Devel mailing list