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