On Tue, Dec 22, 2009 at 10:04:37PM -0500, Walter Bender wrote: > Seems we need to look in two places (the first for the XO 1.5 and the > second for the XO 1.0): > > if os.path.exists('/etc/olpc-release') or \ > os.path.exists('/sys/power/olpc-pm'):
You'll get /etc/olpc-release on any hardware running that operating system build. At least /etc/olpc-release is also available in 802. It seems adequate. -- James Cameron http://quozl.linux.org.au/ _______________________________________________ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel