Small Clearfog fixes
This commit is contained in:
parent
9329e389fb
commit
54d480c02e
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user