summaryrefslogtreecommitdiffstats
path: root/display/renderer/setup.sh
blob: 3864533406734aa1bd764e8f437b9a470a2272b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
topdir=$(dirname $0)
adb root | grep "^root access"
ret="$?"
if [ "${ret}" -ne 0 ] ; then
	adb wait-for-device
	adb remount
	adb push "${topdir}/device-files/graphics.sh" /system/bin/
	adb shell "mount -o remount,ro /system"
	adb shell "sync"
fi