Small Clearfog fixes

This commit is contained in:
Thomas Kaiser 2017-04-14 22:42:14 +02:00
parent 9329e389fb
commit 54d480c02e
2 changed files with 3 additions and 3 deletions

View File

@ -1839,8 +1839,8 @@ CONFIG_SATA_PMP=y
#
# Controllers with non-SFF native interface
#
# CONFIG_SATA_AHCI is not set
# CONFIG_SATA_AHCI_PLATFORM is not set
CONFIG_SATA_AHCI=y
CONFIG_SATA_AHCI_PLATFORM=y
# CONFIG_AHCI_CEVA is not set
CONFIG_AHCI_MVEBU=y
# CONFIG_AHCI_QORIQ is not set

View File

@ -123,7 +123,7 @@ done
if [[ -d "/sys/devices/virtual/thermal/thermal_zone0/" ]]; then
ln -fs /sys/devices/virtual/thermal/thermal_zone0/temp /etc/armbianmonitor/datasources/soctemp
case $(cat /sys/devices/virtual/thermal/thermal_zone0/type) in
cpu_thermal) # mainline kernel
cpu_thermal|armada_thermal) # mainline or Armada LTS kernel
board_temp=$(awk '{printf("%d",$1/1000)}' </sys/devices/virtual/thermal/thermal_zone0/temp)
;;
soc_thermal) # pine64 legacy