代码拉取完成,页面将自动刷新
同步操作将从 dengly/tinycore-redpill 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
#!/bin/bash
function knownfixes() {
PLATFORM="$1"
VERSION="$2"
case $PLATFORM in
ds3615xs)
case $VERSION in
\
7.1.0-42621)
echo sed -i 's/^acpi-cpufreq/# acpi-cpufreq/g' /mnt/dsmroot/usr/lib/modules-load.d/70-cpufreq-kernel.conf && cat /mnt/dsmroot/usr/lib/modules-load.d/70-cpufreq-kernel.conf
;;
*)
echo "$VERSION is not a known VERSION, or no fixes are available"
;;
esac
;;
dva3221)
case $VERSION in
\
7.1.0-42621)
echo sed -i 's/^acpi-cpufreq/# acpi-cpufreq/g' /mnt/dsmroot/usr/lib/modules-load.d/70-cpufreq-kernel.conf && cat /mnt/dsmroot/usr/lib/modules-load.d/70-cpufreq-kernel.conf
[ $(lspci -nn | grep -i nvidia | grep 300 | wc -l) -le 0 ] && echo sed -i 's/^/#/g' /mnt/dsmroot/usr/lib/modules-load.d/70-syno-nvidia-gpu.conf && cat /mnt/dsmroot/usr/lib/modules-load.d/70-syno-nvidia-gpu.conf
;;
\
*)
echo "$VERSION is not a known VERSION, or no fixes are available"
;;
esac
;;
ds3622xsp)
case $VERSION in
\
7.1.0-42621)
echo sed -i 's/^acpi-cpufreq/# acpi-cpufreq/g' /mnt/dsmroot/usr/lib/modules-load.d/70-cpufreq-kernel.conf && cat /mnt/dsmroot/usr/lib/modules-load.d/70-cpufreq-kernel.conf
;;
*)
echo "$VERSION is not a known VERSION, or no fixes are available"
;;
esac
;;
*)
echo "$PLATFORM is not a known PLATFORM, or no fixes are available"
;;
ds3617xs)
case $VERSION in
\
7.1.0-42621)
echo sed -i 's/^acpi-cpufreq/# acpi-cpufreq/g' /mnt/dsmroot/usr/lib/modules-load.d/70-cpufreq-kernel.conf && cat /mnt/dsmroot/usr/lib/modules-load.d/70-cpufreq-kernel.conf
;;
*)
echo "$VERSION is not a known VERSION, or no fixes are available"
;;
esac
;;
ds920p)
case $VERSION in
\
7.1.0-42621)
cd /home/tc/redpill-load ; ./ext-manager.sh add https://gitee.com/dengly/redpill-load/raw/develop/redpill-dtb/rpext-index.json
cd /home/tc/redpill-load ; ./ext-manager.sh _update_platform_exts ds920p_42218
cp /home/tc/ds920p.dtb /home/tc/redpill-load/custom/extensions/jumkey.dtb/ds920p_42218/model_ds920p.dtb
echo sed -i 's/^acpi-cpufreq/# acpi-cpufreq/g' /mnt/dsmroot/usr/lib/modules-load.d/70-cpufreq-kernel.conf && cat /mnt/dsmroot/usr/lib/modules-load.d/70-cpufreq-kernel.conf
;;
*)
echo "$VERSION is not a known VERSION, or no fixes are available"
;;
esac
;;
*)
echo "$PLATFORM is not a known PLATFORM, or no fixes are available"
;;
esac
}
knownfixes $1 $2
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。