summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2005-12-07 13:27:57 +0100
committermaximilian attems <maks@debian.org>2005-12-07 13:27:57 +0100
commitedfcf7ea648bc07435064df4d8c603db7d26aa56 (patch)
tree6cda5ffc9b9aa5f3f2057ab18f9799669cead676
parent7131aa52d493fb25413b092d1e0a9f1625c0a8cd (diff)
downloadinitramfs-tools-edfcf7ea648bc07435064df4d8c603db7d26aa56.tar.gz
initramfs-tools-edfcf7ea648bc07435064df4d8c603db7d26aa56.zip
remove dup suspend code
-rw-r--r--debian/changelog4
-rw-r--r--scripts/functions9
2 files changed, 3 insertions, 10 deletions
diff --git a/debian/changelog b/debian/changelog
index 07c6537..6080b93 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -17,7 +17,9 @@ initramfs-tools (0.43) unstable; urgency=low
* TODO: update to current state.
- -- maximilian attems <maks@sternwelten.at> Tue, 6 Dec 2005 12:25:48 +0100
+ * scripts/functions: remove old duplicate suspend support.
+
+ -- maximilian attems <maks@sternwelten.at> Wed, 7 Dec 2005 13:26:33 +0100
initramfs-tools (0.42) unstable; urgency=low
diff --git a/scripts/functions b/scripts/functions
index 8a49c8e..cde870d 100644
--- a/scripts/functions
+++ b/scripts/functions
@@ -174,15 +174,6 @@ load_modules()
fi
done
fi
-
- # FIXME: wrong place, but it gets done ;)
- if [ -e /sys/power/resume ]; then
- if [ -e "${resume}" ]; then
- major=$((0x$(stat -c%t ${resume})))
- minor=$((0x$(stat -c%T ${resume})))
- echo ${major}:${minor} >/sys/power/resume
- fi
- fi
}
parse_numeric() {