From 8da3b9c40c6ee073addcc06d5227b3043438b768 Mon Sep 17 00:00:00 2001 From: Friedrich Doku Date: Fri, 6 Jan 2023 21:40:17 -0500 Subject: [PATCH] fix last line --- .../security-misc/cold-boot-attack-defense-kexec-prepare | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/libexec/security-misc/cold-boot-attack-defense-kexec-prepare b/usr/libexec/security-misc/cold-boot-attack-defense-kexec-prepare index dab095d..7ae5b8b 100755 --- a/usr/libexec/security-misc/cold-boot-attack-defense-kexec-prepare +++ b/usr/libexec/security-misc/cold-boot-attack-defense-kexec-prepare @@ -48,5 +48,5 @@ else wact="error" fi -kexec -l /boot/vmlinuz-$(uname -r) --initrd=/boot/initrd.img-$(uname -r) --reuse-cmdline --append="wiperamexit=$wram wiperamaction=$wact" +kexec -l $kernel --initrd=$initrd --reuse-cmdline --append="wiperamexit=$wram wiperamaction=$wact"