kexec-tools/SOURCES/kdump-restart.sh

9 lines
227 B
Bash
Raw Normal View History

2021-11-09 09:53:52 +00:00
#!/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