You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
298 B
14 lines
298 B
#!/vendor/bin/sh
|
|
|
|
for f in /sys/class/thermal/thermal_zone*
|
|
do
|
|
tz_name=`cat $f/type`
|
|
ln -s $f /dev/thermal/tz-by-name/$tz_name
|
|
done
|
|
for f in /sys/class/thermal/cooling_device*
|
|
do
|
|
cdev_name=`cat $f/type`
|
|
ln -s $f /dev/thermal/cdev-by-name/$cdev_name
|
|
done
|
|
setprop vendor.thermal.link_ready 1
|