Add PMIC temp for Pine64/Pinebook legacy kernel

Depends on 7c37b2ad1b
This commit is contained in:
Thomas Kaiser 2017-05-03 17:17:46 +02:00 committed by GitHub
parent bff740315b
commit 533c6e5cc8

View file

@ -54,6 +54,8 @@ prepare_temp_monitoring() {
elif [[ -f /sys/devices/b0170000.i2c/i2c-0/0-0065/atc2603c-hwmon.0/ic_temperature ]]; then
ln -fs /sys/devices/b0170000.i2c/i2c-0/0-0065/atc2603c-hwmon.0/ic_temperature \
/etc/armbianmonitor/datasources/pmictemp
elif [[ -f /sys/class/axppower/ic_temp ]]; then
ln -fs /sys/class/axppower/ic_temp /etc/armbianmonitor/datasources/pmictemp
fi
# SoC temp: check sun7i legacy exception first, then standard path(s)