mirror of
https://github.com/stupidloud/nanopi-openwrt.git
synced 2025-06-03 22:03:43 +08:00
build: fix pwm fan control
This commit is contained in:
parent
dafb6ece97
commit
c75f1c6ba8
@ -67,6 +67,7 @@ if [ $BRANCH == 'master' ]; then
|
|||||||
wget https://github.com/friendlyarm/friendlywrt/commit/cebdc1f94dcd6363da3a5d7e1e69fd741b8b718e.patch
|
wget https://github.com/friendlyarm/friendlywrt/commit/cebdc1f94dcd6363da3a5d7e1e69fd741b8b718e.patch
|
||||||
git apply cebdc1f94dcd6363da3a5d7e1e69fd741b8b718e.patch
|
git apply cebdc1f94dcd6363da3a5d7e1e69fd741b8b718e.patch
|
||||||
rm 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
|
#this is a ugly fix
|
||||||
sed -i '/procd-ujail/d' include/target.mk
|
sed -i '/procd-ujail/d' include/target.mk
|
||||||
|
Loading…
x
Reference in New Issue
Block a user