From: Chris Gianelloni Date: Mon, 2 Oct 2006 14:37:48 +0000 (+0000) Subject: Added patch for suspend2-sources 2.6.18 by Romeo Benzoni and... X-Git-Tag: v3.4.10.902~306 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5f05e410b3182acfd9edb9393582d0ad66b59d5a;p=genkernel.git Added patch for suspend2-sources 2.6.18 by Romeo Benzoni and submitted to bug #148499. git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@446 67a159dc-881f-0410-a524-ba9dfbe2cb84 --- diff --git a/generic/initrd.scripts b/generic/initrd.scripts index 7715708..ca331c5 100644 --- a/generic/initrd.scripts +++ b/generic/initrd.scripts @@ -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