summaryrefslogtreecommitdiff
path: root/init.bullhead.diag.rc.userdebug
diff options
context:
space:
mode:
authorThierry Strudel <tstrudel@google.com>2015-07-24 11:39:58 -0700
committerThierry Strudel <tstrudel@google.com>2015-07-24 11:41:12 -0700
commita6b7342ee315af47145447565ce86cf76e3100cc (patch)
tree49cc057c3887b77674ebb970f880578781e0a28e /init.bullhead.diag.rc.userdebug
parente8d7e1dc90d93e16064fbb0ff5774dc184c7231f (diff)
downloadbullhead-a6b7342ee315af47145447565ce86cf76e3100cc.tar.gz
bullhead.userdebug: do mkdir /data/diag_logs on post-fs-data
Change-Id: Ie2a953f803ecf37653dd5e695c9055ac7f5771c2
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