From 5f05e410b3182acfd9edb9393582d0ad66b59d5a Mon Sep 17 00:00:00 2001 From: Chris Gianelloni Date: Mon, 2 Oct 2006 14:37:48 +0000 Subject: [PATCH] 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 --- generic/initrd.scripts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.26.2