mirror of
https://github.com/PixelExperience-Devices/device_xiaomi_miatoll.git
synced 2025-04-29 02:37:19 +09:00
* With MIUI 13, Xiaomi deleted sensor_temperature from its sensor list * Let's use a simple script that clears out the long gone sensor entry from the list Change-Id: I7d1ba1aeb40627f5732422a4135cc5394be83703
9 lines
181 B
Bash
9 lines
181 B
Bash
#!/vendor/bin/sh
|
|
#
|
|
# Copyright (C) 2023 The LineageOS Project
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
sed -i '/sensor_temperature/d' /mnt/vendor/persist/sensors/sensors_list.txt
|