Initial commit
Some checks failed
Build Kernel / Build all affected Kernels (push) Has been cancelled
Build all core packages / Build all core packages for selected target (push) Has been cancelled
Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
Build Toolchains / Build Toolchains for each target (push) Has been cancelled
Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
Coverity scan build / Coverity x86/64 build (push) Has been cancelled
Some checks failed
Build Kernel / Build all affected Kernels (push) Has been cancelled
Build all core packages / Build all core packages for selected target (push) Has been cancelled
Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
Build Toolchains / Build Toolchains for each target (push) Has been cancelled
Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
Coverity scan build / Coverity x86/64 build (push) Has been cancelled
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
#!/bin/sh
|
||||
|
||||
. /lib/functions.sh
|
||||
|
||||
board=$(board_name)
|
||||
|
||||
case "$board" in
|
||||
zyxel,nbg7815)
|
||||
local config_section="config"
|
||||
uci set fanctld.$config_section.Enabled='1'
|
||||
uci set fanctld.$config_section.Gpio='fan'
|
||||
uci set fanctld.$config_section.Temp='75000'
|
||||
uci set fanctld.$config_section.Hyst='5000'
|
||||
uci set fanctld.$config_section.Debug='0'
|
||||
uci set fanctld.$config_section.Delay='5'
|
||||
uci set fanctld.$config_section.Hits='3'
|
||||
uci commit fanctld
|
||||
/etc/init.d/fanctld enable
|
||||
/etc/init.d/fanctld start
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
@@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
uci -q get smp_affinity && exit 0
|
||||
touch /etc/config/smp_affinity
|
||||
|
||||
uci -q batch << EOF
|
||||
set smp_affinity.general=smp_affinity
|
||||
set smp_affinity.general.enable='1'
|
||||
set smp_affinity.general.enable_log='1'
|
||||
commit smp_affinity
|
||||
EOF
|
||||
Reference in New Issue
Block a user