diff options
| author | ChengYou Ho <chengyouho@google.com> | 2019-09-05 16:32:03 +0800 |
|---|---|---|
| committer | ChengYou Ho <chengyouho@google.com> | 2019-09-11 18:57:24 +0800 |
| commit | ad8e3a17f6169bc959b7cbdaa85a8afa5b9290c2 (patch) | |
| tree | e91503ee41c137fdc5c26ae626e12bde21181705 /init.sensors.sh | |
| parent | c9ebc9b525dd1acf39e7809f8da5d617f2a3271c (diff) | |
Initialize redbull device folder
Bug: 140363359
Change-Id: I13e2279257f509080cccb5bf91c0843b3a978bdd
Diffstat (limited to 'init.sensors.sh')
| -rw-r--r-- | init.sensors.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/init.sensors.sh b/init.sensors.sh new file mode 100644 index 00000000..63250384 --- /dev/null +++ b/init.sensors.sh @@ -0,0 +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" |
