projects
/
openwrt
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
2f15e757bfebbedb9e9b5362ff4b5c04591632b3
[openwrt/openwrt.git]
/
package
/
boot
/
kexec-tools
/
files
/
kdump.defaults
1
#!/bin/sh
2
3
case
$
(
uname
-m
)
in
4
i?
86
|x86_64
)
5
if
!
grep
-q
crashkernel
/
boot
/
grub
/
grub.cfg
;
then
6
mount
/
boot
-o
remount
,
rw
7
sed
-i
's/linux.*/& crashkernel=32M@32M/'
/
boot
/
grub
/
grub.cfg
8
mount
/
boot
-o
remount
,
ro
9
fi
10
;;
11
esac