diff options
Diffstat (limited to 'init/kexec-disable.conf')
-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 |