disable "Fast reboot" of kexec

This commit is contained in:
Ing 2024-06-24 00:17:28 +08:00
parent 271509eb46
commit f28428b140

View File

@ -294,6 +294,6 @@ else
rm -rf "${PART1_PATH}/logs" >/dev/null 2>&1 || true rm -rf "${PART1_PATH}/logs" >/dev/null 2>&1 || true
KERNELWAY="$(readConfigKey "kernelway" "${USER_CONFIG_FILE}")" KERNELWAY="$(readConfigKey "kernelway" "${USER_CONFIG_FILE}")"
[ "${KERNELWAY}" = "kexec" ] && kexec -i -a -e || poweroff [ "${KERNELWAY}" = "kexec" ] && kexec -a -e || poweroff
exit 0 exit 0
fi fi