From 173f3dd1fcfce8f8f801e0aca816e2f6968ca3cb 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