[Pkg-acpi-devel] Bug#755969: acpi-support: Upgrade to 0.140-5+deb7u1 breaks suspend to RAM: forced shutdown after return

Christoph cr2005 at u-club.de
Fri Aug 1 14:36:08 UTC 2014


On Wed, 30 Jul 2014 13:45:08 -0400 (EDT) Stuart Barkley <stuartb at 4gh.net>
wrote:
> Looks like pgrep only matches 15 characters of the process name and is
> not a good replacement for pidof.
> 
> 

Right.

> serverpid=$(pgrep -n -u $XUSER "$PROC_NAME")

pgrep needs the -f option, then the script works and power button behaves
as expected.



More information about the Pkg-acpi-devel mailing list