5cf148
#!/usr/bin/bash
5cf148
5cf148
COMMAND="$1"
5cf148
KERNEL_VERSION="$2"
5cf148
KDUMP_INITRD_DIR_ABS="$3"
5cf148
KERNEL_IMAGE="$4"
5cf148
5cf148
case "$COMMAND" in
5cf148
add)
4e4da3
	kdumpctl _reset-crashkernel-for-installed_kernel "$KERNEL_VERSION"
5cf148
	exit 0
5cf148
	;;
5cf148
esac