public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel-+ZI9xUNit7I@public.gmane.org>
To: Olive <olive.lin-r68uw1Ih06TDnxYzvZI3hw@public.gmane.org>
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: How to wait that the machine resume in a script
Date: Thu, 17 Nov 2005 23:24:11 +0100	[thread overview]
Message-ID: <20051117222411.GC14597@elf.ucw.cz> (raw)
In-Reply-To: <dlf12g$pc0$1@sea.gmane.org>

On St 16-11-05 11:19:33, Olive wrote:
> 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.

Really? It should not... it can not. When machine is suspended, script
can't run...
									Pavel
-- 
Thanks, Sharp!


-------------------------------------------------------
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

      parent reply	other threads:[~2005-11-17 22:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-16 10:19 How to wait that the machine resume in a script Olive
2005-11-16 17:08 ` Stefan Dösinger
2005-11-17 22:24 ` Pavel Machek [this message]

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=20051117222411.GC14597@elf.ucw.cz \
    --to=pavel-+zi9xunit7i@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=olive.lin-r68uw1Ih06TDnxYzvZI3hw@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