kexec-tools/SOURCES/92-crashkernel.install

14 lines
204 B
Plaintext
Raw Normal View History

2021-11-03 23:33:35 +00:00
#!/usr/bin/bash
COMMAND="$1"
KERNEL_VERSION="$2"
KDUMP_INITRD_DIR_ABS="$3"
KERNEL_IMAGE="$4"
case "$COMMAND" in
add)
2023-03-28 09:05:46 +00:00
kdumpctl _reset-crashkernel-for-installed_kernel "$KERNEL_VERSION"
2021-12-07 19:21:07 +00:00
exit 0
2021-11-03 23:33:35 +00:00
;;
esac