diff options
Diffstat (limited to 'sys-power/hibernate-script/files/hibernate-script-2.0-init.d.patch')
-rw-r--r-- | sys-power/hibernate-script/files/hibernate-script-2.0-init.d.patch | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/sys-power/hibernate-script/files/hibernate-script-2.0-init.d.patch b/sys-power/hibernate-script/files/hibernate-script-2.0-init.d.patch deleted file mode 100644 index 9d0157d3f6fb..000000000000 --- a/sys-power/hibernate-script/files/hibernate-script-2.0-init.d.patch +++ /dev/null @@ -1,56 +0,0 @@ -diff -Nru hibernate-script-2.0.vanilla/init.d/hibernate-cleanup.sh hibernate-script-2.0/init.d/hibernate-cleanup.sh ---- hibernate-script-2.0.vanilla/init.d/hibernate-cleanup.sh 2009-05-01 23:03:41.000000000 +0100 -+++ hibernate-script-2.0/init.d/hibernate-cleanup.sh 2009-05-01 23:03:55.000000000 +0100 -@@ -1,4 +1,4 @@ --#!/bin/sh -+#!/sbin/openrc-run - - # This script invalidates any stale swsusp and TuxOnIce images. It - # searches all swap partitions on your machine, as well as TuxOnIce's -@@ -91,27 +91,30 @@ - - - msg_status() { -- echo -n "$1" -+ einfon "$1" - } - - msg() { -- echo "$1" -+ einfo "$1" - } - --case "$1" in --start) -- msg_status "Invalidating stale software suspend images... " -+opts="reload" -+ -+depend() { -+ after modules -+ before localmount -+} -+ -+start() { -+ ebegin "Invalidating stale software suspend images" - do_start -- msg "done." -- ;; --stop) -+ eend $? -+} -+ -+stop() { - do_stop -- ;; --restart|force-reload) -- do_reload -- ;; --*) -- msg "Usage: /etc/init.d/hibernate {start|stop|restart|force-reload}" --esac -+} - --exit 0 -+reload() { -+ do_reload -+} |