Added patch for suspend2-sources 2.6.18 by Romeo Benzoni <romeo@benzoni.org> and...
authorChris Gianelloni <wolf31o2@gentoo.org>
Mon, 2 Oct 2006 14:37:48 +0000 (14:37 +0000)
committerChris Gianelloni <wolf31o2@gentoo.org>
Mon, 2 Oct 2006 14:37:48 +0000 (14:37 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@446 67a159dc-881f-0410-a524-ba9dfbe2cb84

generic/initrd.scripts

index 7715708f6e1607b8920e1a521c661065d5bb63c0..ca331c5f3601eabaff0a938a0d6575d1f6474b33 100644 (file)
@@ -672,7 +672,7 @@ setup_unionfs() {
 }
 
 suspend2_resume() {
-       if [ -d /proc/suspend2 ]; then
+       if [ -d /proc/suspend2 ] || [ -d /sys/power/suspend2 ]; then
                local splash_theme
 
                if grep "splash=" /proc/cmdline > /dev/null 2>&1; then