Blame 92-crashkernel.install
|
Kairui Song |
93ba58 |
#!/usr/bin/bash
|
|
Kairui Song |
93ba58 |
|
|
Kairui Song |
93ba58 |
COMMAND="$1"
|
|
Kairui Song |
93ba58 |
KERNEL_VERSION="$2"
|
|
Kairui Song |
93ba58 |
KDUMP_INITRD_DIR_ABS="$3"
|
|
Kairui Song |
93ba58 |
KERNEL_IMAGE="$4"
|
|
Kairui Song |
93ba58 |
|
|
Kairui Song |
93ba58 |
case "$COMMAND" in
|
|
Kairui Song |
93ba58 |
add)
|
|
Coiby Xu |
b1b95d |
kdumpctl _reset-crashkernel-for-installed_kernel "$KERNEL_VERSION"
|
|
|
5f1282 |
exit 0
|
|
Kairui Song |
93ba58 |
;;
|
|
Kairui Song |
93ba58 |
esac
|