diff options
| author | masonwang <masonwang@google.com> | 2019-09-05 14:45:05 +0800 |
|---|---|---|
| committer | masonwang <masonwang@google.com> | 2019-09-11 22:10:59 +0800 |
| commit | ff005651014c92958d63aac0c7769912f786dda6 (patch) | |
| tree | 041e10b8ac3eab9af8cd660491abc6029309f23b /init.sensors.sh | |
| parent | ad8e3a17f6169bc959b7cbdaa85a8afa5b9290c2 (diff) | |
init.sensors.sh: Add a property of ADSP firmware version
Store adsp firmware version into vendor.sys.adsp.firmware.version
Bug: 140361878
Test: Verify the property pass
Change-Id: Ibc2ba09e8eb7c64bea76f83d9cdf119ee14a300c
Diffstat (limited to 'init.sensors.sh')
| -rw-r--r-- | init.sensors.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/init.sensors.sh b/init.sensors.sh index 63250384..b90d0d0d 100644 --- a/init.sensors.sh +++ b/init.sensors.sh @@ -1,6 +1,6 @@ #! /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 sys.slpi.firmware.version "$version" + /vendor/firmware/adsp.b04 | \ + sed -e s/OEM_IMAGE_VERSION_STRING=ADSP.version.// -e s/\(.*\).//` +setprop vendor.sys.adsp.firmware.version "$version" |
