Rev 4 | Blame | Compare with Previous | Last modification | View Log | RSS feed
# On machines where kexec isn't going to be used, free the memory reserved for it.## Do not edit this file directly. If you want to change the behaviour,# please create a file kexec-disable.override and put your changes there.start on runlevel [!S016]taskscriptif [ ! -x /sbin/kexec ] || ! chkconfig kdump 2>/dev/null ; thendmesg | grep --silent --max-count=1 -e '^Command line:.*crashkernel=auto' && \echo -n "0" > /sys/kernel/kexec_crash_size 2>/dev/nullfiexit 0end script