aboutsummaryrefslogtreecommitdiffstats
path: root/init/kexec-disable.conf
blob: 614704314ef4fc8a19a2c4016a4c6285d3beae08 (plain)
1
2
3
4
5
6
7
8
9
10
11
# On machines where kexec isn't going to be used, free the memory reserved for it.

start on stopped rcS
task

script
	if [ ! -x /sbin/kexec ] || ! chkconfig kdump 2>/dev/null ; then
		echo -n "0" > /sys/kernel/kexec_crash_size 2>/dev/null
	fi
	exit 0
end script