Thanks a lot!<br><br>Emmanuel<br><br><div><span class="gmail_quote">2008/4/4, elijah r. <<a href="mailto:elijahr@gmail.com">elijahr@gmail.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Emmanuel,<br> <br><br> > Can you tell how I can execute some scripts before my eeepc enter in sleep<br> > mode, and when it wake up? Is there a debian way to do that?<br> <br> <br>Assuming you are using the eeepc-acpi-scripts, you can modify<br>
/etc/acpi/actions/suspend.sh<br> There is a line that looks somewhat like this:<br> <br> pm-suspend --quirk-s3-bios<br> <br> That is the line that actually puts the machine into the suspend<br> state. Anything called in the script before that line will happen<br>
before suspend,<br> and anything called in the script after that line will happen on<br> resume. I ran into an issue where I needed to turn off wireless<br> before and after suspend. An example of what I did is at<br> <a href="http://elijahr.blogspot.com/2008/03/debian-eeepc-suspend-issues-with.html">http://elijahr.blogspot.com/2008/03/debian-eeepc-suspend-issues-with.html</a><br>
<br> Cheers,<br> <br>Elijah<br> </blockquote></div><br>