From 734b91335158ab2235679720ded2f1eb4f731f17 Mon Sep 17 00:00:00 2001 From: Ing Date: Thu, 29 Feb 2024 00:15:27 +0800 Subject: [PATCH] fix broadwellntbap --- files/initrd/opt/rr/ramdisk-patch.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/files/initrd/opt/rr/ramdisk-patch.sh b/files/initrd/opt/rr/ramdisk-patch.sh index 24ea7ce0..a3794b3c 100755 --- a/files/initrd/opt/rr/ramdisk-patch.sh +++ b/files/initrd/opt/rr/ramdisk-patch.sh @@ -209,7 +209,11 @@ if [ ${PLATFORM} = "epyc7002" ]; then sed -i '/^echo "START/a \\nmknod -m 0666 /dev/console c 1 3' ${RAMDISK_PATH}/linuxrc.syno fi -#if [ "${PLATFORM}" = "kvmx64" -o "${PLATFORM}" = "broadwellntbap" ]; then +if [ "${PLATFORM}" = "broadwellntbap" ]; then + sed -i 's/IsUCOrXA="yes"/XIsUCOrXA="yes"/g; s/IsUCOrXA=yes/XIsUCOrXA=yes/g' ${RAMDISK_PATH}/usr/syno/share/environments.sh +fi + +#if [ "${PLATFORM}" = "kvmx64" ]; then # sed -i 's/kvmx64/RRING/g' ${RAMDISK_PATH}/etc/synoinfo.conf ${RAMDISK_PATH}/etc/VERSION #fi