1
description "MTP protocol server bootup"
3
start on local-filesystems
9
# loop 10 times and then exit, if the property service
10
# isnt up after 80 sec # it is likely not starting at all
11
while [ ! -e /dev/socket/property_service ]; do
13
if [ "$timeout" -le 0 ]; then
17
timeout=$(($timeout - 1))
20
if [ -x /usr/bin/setprop ]; then
21
/usr/bin/setprop sys.usb.config mtp,adb