ThomasKaiser 2018-07-15 23:10:26 +02:00
parent 9462893138
commit 52bef7ddf9
2 changed files with 1 additions and 2 deletions

View file

@ -59,8 +59,6 @@ prepare_temp_monitoring() {
[[ ${BOARDFAMILY} == s500 ]] && THERMAL_ZONE="thermal_zone1" || THERMAL_ZONE="thermal_zone0"
ln -fs /sys/devices/virtual/thermal/${THERMAL_ZONE}/temp /etc/armbianmonitor/datasources/soctemp
fi
# remove the soctemp node on platforms where kernel support is not yet ready for thermal readouts
cat /etc/armbianmonitor/datasources/soctemp >/dev/null 2>&1 || rm /etc/armbianmonitor/datasources/soctemp
} # prepare_temp_monitoring
log_hardware_info() {

View file

@ -65,6 +65,7 @@ prepare_board() {
echo 1 >${i}/io_is_busy
echo 25 >${i}/up_threshold
echo 10 >${i}/sampling_down_factor
echo 200000 >${i}/sampling_rate
fi
done
fi