Skip to content
Snippets Groups Projects
Commit d4e403ff authored by David Chao's avatar David Chao Committed by Wei Wang
Browse files

thermal: add symlinks in charger

Wait for other modules to complete init, postpone thermal.symlinks init.
And also add symlinks in charger.

Bug: 200615564
Test: thermal symlinks can be created in dev folder
Change-Id: I64a46d299da6bef738f998bb65b26403b6515ed5
parent 0e4b561b
No related branches found
No related tags found
No related merge requests found
......@@ -54,6 +54,19 @@ on post-fs-data
chown secure_element secure_element /sys/class/st33spi/st33spi/st33spi_state
chmod 0660 /sys/class/st33spi/st33spi/st33spi_state
# Create thermal symlink in off charging mode
on charger
# Wait for insmod_sh to finish all common modules
wait_for_prop vendor.common.modules.ready 1
# Wait for insmod_sh to finish all device specific modules
wait_for_prop vendor.device.modules.ready 1
mkdir /dev/thermal 0750 system system
mkdir /dev/thermal/tz-by-name 0750 system system
mkdir /dev/thermal/cdev-by-name 0750 system system
restart vendor.thermal.symlinks
service wpa_supplicant /vendor/bin/hw/wpa_supplicant \
-O/data/vendor/wifi/wpa/sockets -puse_p2p_group_interface=1p2p_device=1 \
-m/vendor/etc/wifi/p2p_supplicant.conf \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment