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 +}