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 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 13