summaryrefslogtreecommitdiff
path: root/init.bullhead.diag.rc.userdebug
diff options
context:
space:
mode:
Diffstat (limited to 'init.bullhead.diag.rc.userdebug')
-rw-r--r--init.bullhead.diag.rc.userdebug4
1 files changed, 3 insertions, 1 deletions
diff --git a/init.bullhead.diag.rc.userdebug b/init.bullhead.diag.rc.userdebug
index 025e299..ca20397 100644
--- a/init.bullhead.diag.rc.userdebug
+++ b/init.bullhead.diag.rc.userdebug
@@ -1,8 +1,10 @@
# This file gets copied as /init.bullhead.diag.rc
-on boot
+on post-fs-data
# Modem logging collection
mkdir /data/diag_logs 0777 system system
+
+on boot
chmod 666 /dev/diag
service cnss_diag /system/bin/cnss_diag --q