mirror of
https://github.com/RROrg/rr.git
synced 2025-06-21 05:51:05 +08:00
disable "Fast reboot" of kexec
This commit is contained in:
parent
271509eb46
commit
f28428b140
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user