1#!/vendor/bin/sh 2 3for f in /sys/class/thermal/thermal_zone* 4do 5 tz_name=`cat $f/type` 6 ln -s $f /dev/thermal/tz-by-name/$tz_name 7done 8for f in /sys/class/thermal/cooling_device* 9do 10 cdev_name=`cat $f/type` 11 ln -s $f /dev/thermal/cdev-by-name/$cdev_name 12done 13setprop vendor.thermal.link_ready 1 14