summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-power/hibernate-script/files/hibernate-script-1.09-gentoo.patch')
-rw-r--r--sys-power/hibernate-script/files/hibernate-script-1.09-gentoo.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/sys-power/hibernate-script/files/hibernate-script-1.09-gentoo.patch b/sys-power/hibernate-script/files/hibernate-script-1.09-gentoo.patch
new file mode 100644
index 000000000000..3c9d838dc3a9
--- /dev/null
+++ b/sys-power/hibernate-script/files/hibernate-script-1.09-gentoo.patch
@@ -0,0 +1,29 @@
+diff -urp hibernate-script-1.09/init.d/hibernate-cleanup.sh hibernate-script-1.09-gentoo/init.d/hibernate-cleanup.sh
+--- hibernate-script-1.09/init.d/hibernate-cleanup.sh 2005-06-27 17:58:32.000000000 +0200
++++ hibernate-script-1.09-gentoo/init.d/hibernate-cleanup.sh 2005-06-27 18:02:54.000000000 +0200
+@@ -1,4 +1,4 @@
+-#!/bin/sh
++#!/sbin/runscript
+
+ # This script invalidates any stale swsusp and Software Suspend 2 images. It
+ # searches all swap partitions on your machine, as well as Suspend2's
+@@ -57,9 +57,14 @@ check_filewriter_sig() {
+ esac
+ }
+
+-echo -n "Clearing Software Suspend 2 signatures... "
+-check_swap_sig
+-check_filewriter_sig
+-echo "done."
++depend() {
++ after localmount
++ before bootmisc
++}
+
+-exit 0
++start() {
++ ebegin "Clearing Software Suspend 2 signatures"
++ check_swap_sig
++ check_filewriter_sig
++ eend
++}