thanks!<br><br><div class="gmail_quote">On Wed, Mar 2, 2011 at 4:59 PM, Bernie Innocenti <span dir="ltr"><<a href="mailto:bernie@codewiz.org">bernie@codewiz.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On Wed, 2011-03-02 at 15:05 -0300, Martin Abente wrote:<br>
> LBS_MESH=/sys/class/net/eth0/lbs_mesh<br>
> +XO_MODEL=/ofw/mfg-data/MN<br>
> +<br>
> +if [ $(cat $XO_MODEL) != "XO-1" ]<br>
<br>
</div>To protect against the case where the MN tag is not set, or Dextrose<br>
runs on non-XO hardware, this line should be written as:<br>
<br>
if [ -f $XO_MODEL -a "$(cat $XO_MODEL)" != "XO-1" ]; then<br>
<font color="#888888"><br>
--<br>
// Bernie Innocenti - <a href="http://codewiz.org/" target="_blank">http://codewiz.org/</a><br>
\X/ Sugar Labs - <a href="http://sugarlabs.org/" target="_blank">http://sugarlabs.org/</a><br>
<br>
<br>
</font></blockquote></div><br>