I tried this but did not work either ;/<br><br>Apparently the mesh re-activation happens after this script is being run.<br><br><div class="gmail_quote">On Thu, Dec 16, 2010 at 2:39 PM, Paul Fox <span dir="ltr"><<a href="mailto:pgf@laptop.org">pgf@laptop.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">martin wrote:<br>
 > On Wed, Dec 15, 2010 at 11:52 AM, Esteban Arias<br>
 > <<a href="mailto:earias@plan.ceibal.edu.uy">earias@plan.ceibal.edu.uy</a>> wrote:<br>
 > > I have the mesh inactive (dextrose version xo-1.0)<br>
 > ><br>
 > > In the file: /etc/rc.local I have:<br>
 > > echo 0 > /sys/class/net/eth0/lbs_mesh<br>
 > ><br>
 > > but, when suspends the system, (close and open the laptop xo),<br>
 > > reactive the mesh....<br>
 ><br>
 > I think recent versions of powerd can run scripts on resume --<br>
 ><br>
<br>
</div>actually post-resume scripts have been available for some time.<br>
it was pre-suspend scripts that were added recently.<br>
<br>
look for "Post-resume scripts" in /usr/sbin/powerd for documentation.<br>
<br>
Note:  these scripts run when there's a high likelihood that<br>
the system will, or did, suspend.  but the suspend may not actually<br>
have happened.  in the case being discussed ("echo 0 > lbs_mesh"), it<br>
sounds like that's probably okay, but you wouldn't want to use these<br>
script hooks to implement a suspend counter, or something that breaks<br>
the system if the suspend didn't actually take place.<br>
<br>
paul<br>
=---------------------<br>
<font color="#888888"> paul fox, <a href="mailto:pgf@laptop.org">pgf@laptop.org</a><br>
</font><div><div></div><div class="h5">_______________________________________________<br>
Devel mailing list<br>
<a href="mailto:Devel@lists.laptop.org">Devel@lists.laptop.org</a><br>
<a href="http://lists.laptop.org/listinfo/devel" target="_blank">http://lists.laptop.org/listinfo/devel</a><br>
</div></div></blockquote></div><br>