Amit Pundir | c0ad894 | 2021-12-14 19:45:56 +0530 | [diff] [blame] | 1 | #! /vendor/bin/sh |
2 | # Set vendor.hw property to run device specific services | ||||
3 | # | ||||
4 | # grep the device name from /proc/device-tree/compatible | ||||
5 | |||||
6 | HW=`/vendor/bin/cat /proc/device-tree/compatible | /vendor/bin/grep rb5` | ||||
7 | |||||
8 | if [ -z "${HW}" ]; then | ||||
9 | setprop vendor.hw db845c | ||||
10 | else | ||||
11 | setprop vendor.hw rb5 | ||||
12 | fi |