From 40983b7b7cd8c10d574130a04e25708a2ddfd8e2 Mon Sep 17 00:00:00 2001 From: Ing Date: Mon, 25 Dec 2023 00:14:48 +0800 Subject: [PATCH] Modify the parameters 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 f729b51b..787e7cb8 100755 --- a/files/initrd/opt/rr/boot.sh +++ b/files/initrd/opt/rr/boot.sh @@ -254,6 +254,6 @@ else echo -e "\n\033[1;43m$(TEXT "[This interface will not be operational. Please wait a few minutes.\nFind DSM via http://find.synology.com/ or Synology Assistant and connect.]")\033[0m\n" >"/dev/${T}" 2>/dev/null || true done KERNELWAY="$(readConfigKey "kernelway" "${USER_CONFIG_FILE}")" - [ "${KERNELWAY}" = "kexec" ] && kexec -f -e || poweroff + [ "${KERNELWAY}" = "kexec" ] && kexec -i -a -e || poweroff exit 0 fi