From f28428b14030c57d1bbb9486a77f8194f0f1c32b Mon Sep 17 00:00:00 2001 From: Ing Date: Mon, 24 Jun 2024 00:17:28 +0800 Subject: [PATCH] disable "Fast reboot" of kexec --- files/initrd/opt/rr/boot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/initrd/opt/rr/boot.sh b/files/initrd/opt/rr/boot.sh index f9b9ae88..176fcb0d 100755 --- a/files/initrd/opt/rr/boot.sh +++ b/files/initrd/opt/rr/boot.sh @@ -294,6 +294,6 @@ else rm -rf "${PART1_PATH}/logs" >/dev/null 2>&1 || true KERNELWAY="$(readConfigKey "kernelway" "${USER_CONFIG_FILE}")" - [ "${KERNELWAY}" = "kexec" ] && kexec -i -a -e || poweroff + [ "${KERNELWAY}" = "kexec" ] && kexec -a -e || poweroff exit 0 fi