device_google_gs101/disable_contaminant_detection.sh
Darren Hsu c3af02a158 Disable USB contaminant detection when the disable flag is true
Bug: 192208389
Test: Manually tested
Change-Id: Iee32ec4175283417eaa8d86d65c2a80757ebc32a
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2021-07-15 16:17:39 +00:00

3 lines
102 B
Bash
Executable file

#!/vendor/bin/sh
echo 0 > "$(find /sys/devices/platform/10d50000.hsi2c -name contaminant_detection)"