summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Bächler <thomas@archlinux.org>2006-07-31 19:05:02 +0200
committerThomas Bächler <thomas@archlinux.org>2006-07-31 19:05:02 +0200
commit5ff944e1eb22afa51b9d999edaa5d967c6edaa9f (patch)
treef11b7c51657527de219679a836f58677b84c0737
parentdc0580258df9247d12a75d58540c696a808017cd (diff)
downloadmkinitcpio-5ff944e1eb22afa51b9d999edaa5d967c6edaa9f.tar.gz
mkinitcpio-5ff944e1eb22afa51b9d999edaa5d967c6edaa9f.tar.xz
fixed resume hook (again)
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@136 880c04e9-e011-0410-abf7-b926e227c9cd
-rw-r--r--hooks/resume4
1 files changed, 2 insertions, 2 deletions
diff --git a/hooks/resume b/hooks/resume
index 24b9949..4af85ea 100644
--- a/hooks/resume
+++ b/hooks/resume
@@ -17,7 +17,7 @@ run_hook ()
suspend2root="/proc/suspend2"
fi
if [ -d "${suspend2root}" -a "x${resume2}" != "x" ]; then
- echo ${resume2} > ${resume2root}/resume2
- echo "" > ${resume2root}/do_resume
+ echo ${resume2} > ${suspend2root}/resume2
+ echo > ${suspend2root}/do_resume
fi
}