Sign in
cos
/
third_party
/
overlays
/
portage-stable
/
ad9751cc310561502a79d47e3e08eafe247b9c01
/
.
/
sys-apps
/
kexec-tools
/
files
/
90_kexec
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