unplugged-vendor/device/google/coral/init.sensors.sh

7 lines
243 B
Bash

#! /vendor/bin/sh
version=`grep -ao "OEM_IMAGE_VERSION_STRING[ -~]*" \
/vendor/firmware/slpi.b04 | \
sed -e s/OEM_IMAGE_VERSION_STRING=SLPI.version.// -e s/\(.*\).//`
setprop vendor.sys.slpi.firmware.version "$version"