android_device_motorola_guamp/rootdir/etc/init.mmi.diag_mdlog.rc
GarfieldFernando eddf6fbda6 guamp: Initial device tree
- Initial device tree for guamp device
- Based in Qualcomm SM6115

Signed-off-by: GarfieldFernando <ferchito.zoma@gmail.com>
2021-01-18 15:03:21 -06:00

37 lines
1,002 B
Text

on post-fs-data
mkdir /data/vendor/diag_mdlog 0770 system log
mkdir /data/vendor/diag_mdlog/logs 0750 log log
on property:persist.vendor.sys.diag_mdlog.on=1
start vendor.diag_mdlog
on property:persist.vendor.sys.diag_mdlog.on=0
start vendor.safe_stop_mdlog
on property:vendor.log.diag_mdlog.invld_mode_stop=1
stop vendor.diag_mdlog
on property:persist.vendor.radio.usbdiag=1
setprop persist.vendor.sys.diag_mdlog.on 0
service vendor.diag_mdlog /vendor/bin/diag_mdlog-wrap
class late_start
socket mdlog_cmd stream 0660 log diag
user log
group log sdcard_rw sdcard_r media_rw oem_2901 mount
disabled
service vendor.safe_stop_mdlog /vendor/bin/diag_mdlog-getlogs -s
class late_start
user log
group log sdcard_rw sdcard_r media_rw oem_2901
oneshot
disabled
service vendor.mdlog-getlogs /vendor/bin/init.mmi.mdlog-getlogs.sh
class late_start
user log
group log sdcard_rw sdcard_r media_rw oem_2901
oneshot
disabled