blob: 2f15e757bfebbedb9e9b5362ff4b5c04591632b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/sh
case $(uname -m) in
i?86|x86_64)
if ! grep -q crashkernel /boot/grub/grub.cfg; then
mount /boot -o remount,rw
sed -i 's/linux.*/& crashkernel=32M@32M/' /boot/grub/grub.cfg
mount /boot -o remount,ro
fi
;;
esac
|