From c75f1c6ba85d368caa014658180f0cb419dcc74f Mon Sep 17 00:00:00 2001 From: John Doe Date: Mon, 22 Nov 2021 08:12:10 +0800 Subject: [PATCH] build: fix pwm fan control --- scripts/patches.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/patches.sh b/scripts/patches.sh index abffdf8..978b91c 100644 --- a/scripts/patches.sh +++ b/scripts/patches.sh @@ -67,6 +67,7 @@ if [ $BRANCH == 'master' ]; then wget https://github.com/friendlyarm/friendlywrt/commit/cebdc1f94dcd6363da3a5d7e1e69fd741b8b718e.patch git apply cebdc1f94dcd6363da3a5d7e1e69fd741b8b718e.patch rm cebdc1f94dcd6363da3a5d7e1e69fd741b8b718e.patch + 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 #this is a ugly fix sed -i '/procd-ujail/d' include/target.mk