blob: 98f76c3c9f139ebb5287f8c02f84833a7b456a54 [file] [log] [blame]
Amit Pundirc0ad8942021-12-14 19:45:56 +05301#! /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
6HW=`/vendor/bin/cat /proc/device-tree/compatible | /vendor/bin/grep rb5`
7
8if [ -z "${HW}" ]; then
9 setprop vendor.hw db845c
10else
11 setprop vendor.hw rb5
12fi