From 6dd0ab6ecc61bc6d28370942cb5ca6a6d7d1bcc1 Mon Sep 17 00:00:00 2001 From: John Doe Date: Tue, 21 Jun 2022 11:55:07 +0800 Subject: [PATCH] Build: remove fan patch since upstrem has added it --- scripts/patches.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/scripts/patches.sh b/scripts/patches.sh index 2f00914..1698272 100644 --- a/scripts/patches.sh +++ b/scripts/patches.sh @@ -61,10 +61,7 @@ if [ $BRANCH == 'master' ]; then echo -e "\toption minfreq0 '816000'" >> $config_file_cpufreq echo -e "\toption maxfreq0 '1512000'\n" >> $config_file_cpufreq - # enable fan control - wget https://github.com/friendlyarm/friendlywrt/commit/cebdc1f94dcd6363da3a5d7e1e69fd741b8b718e.patch - git apply cebdc1f94dcd6363da3a5d7e1e69fd741b8b718e.patch - rm cebdc1f94dcd6363da3a5d7e1e69fd741b8b718e.patch + # fix fan control sed -i 's/pwmchip1/pwmchip0/' target/linux/rockchip/armv8/base-files/usr/bin/fa-fancontrol.sh target/linux/rockchip/armv8/base-files/usr/bin/fa-fancontrol-direct.sh fi