diff options
author | maximilian attems <max@dual.(none)> | 2007-09-01 13:42:16 +0200 |
---|---|---|
committer | maximilian attems <max@dual.(none)> | 2007-09-01 13:42:16 +0200 |
commit | f2f808cfeaf4350f4f300c689eccea88a327793d (patch) | |
tree | 1d436780c8ae909652852c09fc0a9a81e8873e36 /init | |
parent | 971f6f778035b49afaea9be8408f90cccb6b548b (diff) | |
download | initramfs-tools-f2f808cfeaf4350f4f300c689eccea88a327793d.tar.gz initramfs-tools-f2f808cfeaf4350f4f300c689eccea88a327793d.zip |
init: export noresume fo uswsusp and kdump
Diffstat (limited to 'init')
-rwxr-xr-x | init | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -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 |