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