blob: 40bad423955d4945494ca837926546a04a3fe485 [file] [log] [blame]
#!/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