summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authormaximilian attems <max@dual.(none)>2007-09-01 13:42:16 +0200
committermaximilian attems <max@dual.(none)>2007-09-01 13:42:16 +0200
commitf2f808cfeaf4350f4f300c689eccea88a327793d (patch)
tree1d436780c8ae909652852c09fc0a9a81e8873e36 /init
parent971f6f778035b49afaea9be8408f90cccb6b548b (diff)
downloadinitramfs-tools-f2f808cfeaf4350f4f300c689eccea88a327793d.tar.gz
initramfs-tools-f2f808cfeaf4350f4f300c689eccea88a327793d.zip
init: export noresume fo uswsusp and kdump
Diffstat (limited to 'init')
-rwxr-xr-xinit10
1 files changed, 6 insertions, 4 deletions
diff --git a/init b/init
index 53c228a..72b59f2 100755
--- a/init
+++ b/init
@@ -95,10 +95,10 @@ for x in $(cat /proc/cmdline); do
BOOT=${x#boot=}
;;
resume=*)
- RESUME="${x#resume=}"
+ resume="${x#resume=}"
;;
noresume)
- NORESUME=y
+ noresume=y
;;
panic=*)
panic="${x#panic=}"
@@ -138,8 +138,10 @@ for x in $(cat /proc/cmdline); do
esac
done
-if [ -z "${NORESUME}" ]; then
- export resume=${RESUME}
+if [ -z "${noresume}" ]; then
+ export resume=${resume}
+else
+ export noresume
fi
depmod -a