From: Olive <olive.lin-r68uw1Ih06TDnxYzvZI3hw@public.gmane.org>
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: How to wait that the machine resume in a script
Date: Wed, 16 Nov 2005 11:19:33 +0100 [thread overview]
Message-ID: <dlf12g$pc0$1@sea.gmane.org> (raw)
Hello,
I just test acpi and it appears to have behave properly. I would like to
know via a script that the machine has been resumed. Something like
echo -n disk /sys/power/state
waitresumed
continue with the script
The naive solution to wait until "echo -n disk /sys/power/state" returns
do not work because it returns too quicly.
Olive
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
next reply other threads:[~2005-11-16 10:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-16 10:19 Olive [this message]
2005-11-16 17:08 ` How to wait that the machine resume in a script Stefan Dösinger
2005-11-17 22:24 ` Pavel Machek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='dlf12g$pc0$1@sea.gmane.org' \
--to=olive.lin-r68uw1ih06tdnxyzvzi3hw@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox