Package: hibernate Version: 1.98-1 Severity: grave Tags: patch If I run hibernate I get this error message: WARNING: No configuration file found (=/etc/hibernate/hibernate.conf). This script probably won't do anything. hibernate: No suitable suspend methods were found on your machine. hibernate: You need to install a kernel with support for suspending to hibernate: disk or RAM and reboot, then try again.
Here is a patch to fix the problem: diff -uprN hibernate-1.98.old/hibernate.sh hibernate-1.98/hibernate.sh --- hibernate-1.98.old/hibernate.sh 2008-03-30 23:19:49.000000000 +0200 +++ hibernate-1.98/hibernate.sh 2008-03-31 15:07:29.000000000 +0200 @@ -700,7 +700,7 @@ ProcessConfigOption() { conffiles_read= ReadConfigFile() { local option params - local file_name; file_name=="$1" + local file_name; file_name="$1" if [ ! -f "${file_name}" ] ; then # Search in /etc/hibernate -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]