blob: 40bad423955d4945494ca837926546a04a3fe485 (
plain)
1
2
3
4
5
6
7
8
9
|
#!/bin/sh
version="$1" ; shift
image="$1" ; shift
exec sed \
-e "s:\"vmlinuz-.*\":\"vmlinuz-${version}\":" \
-e "s:/boot/initramfs-.*\.img:/boot/initramfs-${version}\.img:" \
-i /etc/kexec.conf
|