[Debian-eeepc-devel] Low battery and ugly shutdown problems

Jelle de Jong jelledejong at powercraft.nl
Tue Jun 3 15:02:17 UTC 2008


Karl O. Pinc wrote:
> 
> On 06/03/2008 09:11:28 AM, Jelle de Jong wrote:
>> I use the below shell loop:
>>
>> > while true
>> > do
> 
>> >     sleep 120
>> > done
> 
> If you want reliability tell cron to run every 2 minutes
> instead of a loop.  Otherwise if your process ever goes
> away, it's gone forever.

Hmmm thats true thanks for the tip, one slight problem i don't have cron 
running on my client systems :-p

Also the script should better be run on an acpi event or something like 
that it should not have to poll at all....

> Karl <kop at meme.com>
> Free Software:  "You don't pay back, you pay forward."
>                  -- Robert A. Heinlein




More information about the Debian-eeepc-devel mailing list