summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog7
-rwxr-xr-xinit4
2 files changed, 9 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index 499d316..bf48bff 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+initramfs-tools (0.91a) unstable; urgency=low
+
+ * init: Fix resuming with hardcoded uppercase RESUME variable.
+ Thanks Raphael Hertzog <hertzog@debian.org> for the report.
+
+ -- maximilian attems <maks@debian.org> Wed, 12 Sep 2007 19:06:19 +0200
+
initramfs-tools (0.91) unstable; urgency=low
* udev_helper: Axe the modprobe ide-generic should no longer be needed
diff --git a/init b/init
index 9afc87a..52e3f45 100755
--- a/init
+++ b/init
@@ -95,7 +95,7 @@ for x in $(cat /proc/cmdline); do
BOOT=${x#boot=}
;;
resume=*)
- resume="${x#resume=}"
+ RESUME="${x#resume=}"
;;
noresume)
noresume=y
@@ -141,7 +141,7 @@ for x in $(cat /proc/cmdline); do
done
if [ -z "${noresume}" ]; then
- export resume=${resume}
+ export resume=${RESUME}
else
export noresume
fi