summaryrefslogtreecommitdiff
path: root/scripts/local-premount
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2006-08-08 09:32:03 +0200
committermaximilian attems <maks@debian.org>2006-08-08 09:32:03 +0200
commit317940266751218ffa46581a44260619ade32e0a (patch)
tree0f41b5272ba5e406a88b0b6a4ee268626b7f5d16 /scripts/local-premount
parenta44616dd8e197c348d6061db84c2a6893fae5a27 (diff)
downloadinitramfs-tools-317940266751218ffa46581a44260619ade32e0a.tar.gz
initramfs-tools-317940266751218ffa46581a44260619ade32e0a.zip
revert klibc-utils resume usage for now.
Diffstat (limited to 'scripts/local-premount')
-rwxr-xr-xscripts/local-premount/resume5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/local-premount/resume b/scripts/local-premount/resume
index 564d6f8..593df78 100755
--- a/scripts/local-premount/resume
+++ b/scripts/local-premount/resume
@@ -33,5 +33,8 @@ if [ ! -e "${resume}" ]; then
fi
if [ -e /sys/power/resume ]; then
- resume ${resume}
+# FIXME: klibc-utils resume needs more tests
+# resume ${resume}
+ major_minor=$(ls -l ${resume} | awk '{printf "%d:%d", $5, $6}')
+ echo $major_minor >/sys/power/resume
fi