tags 469505 + confirmed pending thanks Hi, * mancausoft <[EMAIL PROTECTED]> [2008-03-05 17:11]: > If I shutdown my eeepc and close the screen before poweroff it go in > suspend2ram. > > I try to add in /etc/acpi/events/suspend.sh: > > if /sbin/runlevel | grep -q [06]$ ; then > exit 0 > fi > > but work only after it go in init 0 o init 6. First, when shutdown kill > X programas, /sbin/runlevel output is N 2.
Just committed: if (runlevel | grep -q [06]) || (ps x | grep -q '/sbin/shutdown'); then exit 0 fi That should work even if it's somehow dirty :) Fixed package will be uploaded after eeepc-acpi-scripts migrated to testing. Cheers Nico -- Nico Golde - http://www.ngolde.de - [EMAIL PROTECTED] - GPG: 0x73647CFF For security reasons, all text in this mail is double-rot13 encrypted.
pgpKjZMvrw9x9.pgp
Description: PGP signature