From 51eea40ea7a9bd254e0b42b1913d3acb5614b7f6 Mon Sep 17 00:00:00 2001 From: AuxXxilium Date: Sat, 9 Nov 2024 21:31:50 +0100 Subject: [PATCH] boot: cleanup Signed-off-by: AuxXxilium --- files/initrd/opt/arc/boot.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/files/initrd/opt/arc/boot.sh b/files/initrd/opt/arc/boot.sh index 2daac6b3..4928d42c 100755 --- a/files/initrd/opt/arc/boot.sh +++ b/files/initrd/opt/arc/boot.sh @@ -4,7 +4,6 @@ set -e [[ -z "${ARC_PATH}" || ! -d "${ARC_PATH}/include" ]] && ARC_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" 2>/dev/null && pwd)" . ${ARC_PATH}/include/functions.sh -. ${ARC_PATH}/include/addons.sh # Clear logs for dbgutils addons rm -rf "${PART1_PATH}/logs" >/dev/null 2>&1 || true @@ -323,7 +322,7 @@ elif [ "${DIRECTBOOT}" == "false" ]; then echo -e "\033[1;33mWarning, running kexec with --noefi param, strange things will happen!!\033[0m" KEXECARGS+=" --noefi" fi - kexec ${KEXECARGS} -l "${MOD_ZIMAGE_FILE}" --initrd "${MOD_RDGZ_FILE}" --command-line="${CMDLINE_LINE} kexecboot" >"${LOG_FILE}" 2>&1 || dieLog + kexec ${KEXECARGS} -l "${MOD_ZIMAGE_FILE}" --initrd "${MOD_RDGZ_FILE}" --command-line="${CMDLINE_LINE}" >"${LOG_FILE}" 2>&1 || dieLog echo -e "\033[1;37mBooting DSM...\033[0m" # Boot to DSM