diff options
author | Petr Lautrbach <plautrba@redhat.com> | 2011-09-20 12:37:31 +0200 |
---|---|---|
committer | Petr Lautrbach <plautrba@redhat.com> | 2011-09-20 12:37:31 +0200 |
commit | bb1e4e3cfe66c7e8ba1b0cd8804e9909580572df (patch) | |
tree | 5abd4a5507ead334027a36d8a334d713589dcc33 | |
parent | 385d3acb149694da8f5ff70bba2aed656c190a73 (diff) | |
download | initscripts-bb1e4e3cfe66c7e8ba1b0cd8804e9909580572df.tar initscripts-bb1e4e3cfe66c7e8ba1b0cd8804e9909580572df.tar.gz initscripts-bb1e4e3cfe66c7e8ba1b0cd8804e9909580572df.tar.bz2 initscripts-bb1e4e3cfe66c7e8ba1b0cd8804e9909580572df.tar.xz initscripts-bb1e4e3cfe66c7e8ba1b0cd8804e9909580572df.zip |
kexec - free reservation memory only for crashkernel=auto (#734987)
-rw-r--r-- | init/kexec-disable.conf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/init/kexec-disable.conf b/init/kexec-disable.conf index 9f8062fb..6a75a944 100644 --- a/init/kexec-disable.conf +++ b/init/kexec-disable.conf @@ -5,6 +5,7 @@ task script if [ ! -x /sbin/kexec ] || ! chkconfig kdump 2>/dev/null ; then + grep -q "crashkernel=auto" /proc/cmdline && \ echo -n "0" > /sys/kernel/kexec_crash_size 2>/dev/null fi exit 0 |