On Monday 01 October 2007 01:25:00 martin f krafft wrote: > Please see if the attached patch by Matthias Henseler fixes the > issue.
Hello. Patch from Matthias didn't solve the problem. But i found message (http://lists.tuxonice.net/lurker/message/20070927.120028.f880919b.en.html) on suspend2-devel maillist with small patch which solve this issue. -- Eugene
diff -ruN hibernate-1.96~pre-svn.r1136.orig/scriptlets.d/suspend2 hibernate-1.96~pre-svn.r1136/scriptlets.d/suspend2 --- hibernate-1.96~pre-svn.r1136.orig/scriptlets.d/suspend2 2007-10-03 02:53:23.000000000 +1100 +++ hibernate-1.96~pre-svn.r1136/scriptlets.d/suspend2 2007-10-03 02:59:39.000000000 +1100 @@ -99,6 +99,8 @@ [ -d "$SWSUSP_ROOT/swap/" ] && SWAPWRITER_ROOT="$SWSUSP_ROOT/swap" [ -d "$SWSUSP_ROOT/user_interface/" ] && UI_ROOT="$SWSUSP_ROOT/user_interface" [ -d "$SWSUSP_ROOT/storage_manager/" ] && STORAGEMAN_ROOT="$SWSUSP_ROOT/storage_manager" + [ -e "$SWSUSP_ROOT/resume" ] && RESUME_FILE="resume" + [ -e "$SWSUSP_ROOT/resume2" ] && RESUME_FILE="resume2" SWSUSP_DEFAULT_ALL_SETTINGS_FILE="$SWSUSP_D/swsusp2-all-settings.conf" HIBERNATE_FILEWRITER_TRAIL="/var/run/suspend2_filewriter_image_exists"