kexec-tools/SOURCES/kdump-restart.sh
2021-09-09 19:42:59 +00:00

9 lines
227 B
Bash

#!/bin/bash
export PATH="$PATH:/usr/bin:/usr/sbin"
exec >>/var/log/kdump-migration.log 2>&1
echo "kdump: Partition Migration detected. Rebuilding initramfs image to reload."
/usr/bin/kdumpctl rebuild
/usr/bin/kdumpctl reload