diff --git a/files/initrd/opt/arc/boot.sh b/files/initrd/opt/arc/boot.sh index 75315151..41e52894 100755 --- a/files/initrd/opt/arc/boot.sh +++ b/files/initrd/opt/arc/boot.sh @@ -124,9 +124,15 @@ if checkBIOS_VT_d && [ $(echo "${KVER:-4}" | cut -d'.' -f1) -lt 5 ]; then fi # Read necessary variables -readData +VID="$(readConfigKey "vid" "${USER_CONFIG_FILE}")" +PID="$(readConfigKey "pid" "${USER_CONFIG_FILE}")" SN="$(readConfigKey "sn" "${USER_CONFIG_FILE}")" +KERNELPANIC="$(readConfigKey "kernelpanic" "${USER_CONFIG_FILE}")" +DT="$(readConfigKey "platforms.${PLATFORM}.dt" "${P_FILE}")" +KVER="$(readConfigKey "platforms.${PLATFORM}.productvers.\"${PRODUCTVER}\".kver" "${P_FILE}")" +EMMCBOOT="$(readConfigKey "emmcboot" "${USER_CONFIG_FILE}")" MODBLACKLIST="$(readConfigKey "modblacklist" "${USER_CONFIG_FILE}")" +ARCPATCH="$(readConfigKey "arc.patch" "${USER_CONFIG_FILE}")" declare -A CMDLINE