From 864698c24ec21d34546a361c16b41b6d03c3833c Mon Sep 17 00:00:00 2001 From: Tim Yamin Date: Mon, 5 Dec 2005 22:15:58 +0000 Subject: [PATCH] Fix #113634, #114266. git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@332 67a159dc-881f-0410-a524-ba9dfbe2cb84 --- generic/linuxrc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/generic/linuxrc b/generic/linuxrc index 0d6550b..88093fe 100644 --- a/generic/linuxrc +++ b/generic/linuxrc @@ -25,6 +25,13 @@ fi mount -o remount,rw / mount -t proc proc /proc +# activate suspend2 +if [ -w /proc/suspend2/do_resume ] +then + echo "${GOOD}>>${NORMAL}${BOLD} Activating suspend2 resume..." + echo > /proc/suspend2/do_resume +fi + # Set up symlinks if [ "$0" = '/init' ] then @@ -174,7 +181,8 @@ do # /dev/md lvmraid\=*) - RAID_DEVICES="${RAID_DEVICES} `parse_opt ${x}`" + RAID_DEVICES="`parse_opt ${x}`" + RAID_DEVICES="`echo ${RAID_DEVICES} | sed -e 's/,/ /g'`" ;; part\=*) -- 2.26.2