xref: /aosp_15_r20/system/core/bootstat/bootstat-debug.rc (revision 00c7fec1bb09f3284aad6a6f96d2f63dfc3650ad)
1*00c7fec1SAndroid Build Coastguard Worker# This file is the userdebug LOCAL_INIT_RC file for the bootstat command.
2*00c7fec1SAndroid Build Coastguard Worker
3*00c7fec1SAndroid Build Coastguard Worker# FOR TESTING
4*00c7fec1SAndroid Build Coastguard Worker# For devices w/o bootloader boot reason reported, mirror test boot reason
5*00c7fec1SAndroid Build Coastguard Worker# to bootloader boot reason to allow test to inject reasons
6*00c7fec1SAndroid Build Coastguard Workeron property:persist.test.boot.reason=*
7*00c7fec1SAndroid Build Coastguard Worker    setprop ro.boot.bootreason ${persist.test.boot.reason}
8