blob: 4393afd882113f7ed1e3f0f3c6d7e9f64ec20b05 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
diff -urp hibernate-script-1.08/init.d/hibernate-cleanup.sh hibernate-script-1.08-gentoo/init.d/hibernate-cleanup.sh
--- hibernate-script-1.08/init.d/hibernate-cleanup.sh 2005-05-13 15:28:26.000000000 +0200
+++ hibernate-script-1.08-gentoo/init.d/hibernate-cleanup.sh 2005-05-13 15:43:10.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
+}
|