Rev 3 |
Details |
Compare with Previous |
Last modification |
View Log
| RSS feed
Rev |
Author |
Line No. |
Line |
3 |
- |
1 |
# On machines where kexec isn't going to be used, free the memory reserved for it.
|
|
|
2 |
#
|
|
|
3 |
# Do not edit this file directly. If you want to change the behaviour,
|
|
|
4 |
# please create a file kexec-disable.override and put your changes there.
|
|
|
5 |
|
|
|
6 |
start on runlevel [!S016]
|
|
|
7 |
task
|
|
|
8 |
|
|
|
9 |
script
|
|
|
10 |
if [ ! -x /sbin/kexec ] || ! chkconfig kdump 2>/dev/null ; then
|
95 |
- |
11 |
dmesg | grep --silent --max-count=1 -e '^Command line:.*crashkernel=auto' && \
|
3 |
- |
12 |
echo -n "0" > /sys/kernel/kexec_crash_size 2>/dev/null
|
|
|
13 |
fi
|
|
|
14 |
exit 0
|
|
|
15 |
end script
|