1# This file gets copied as /init.bullhead.diag.rc
2
3on post-fs-data
4    # Modem logging collection
5    mkdir /data/diag_logs 0777 system system
6
7on boot
8    chmod 666 /dev/diag
9
10service cnss_diag /system/bin/cnss_diag --q
11    class late_start
12    user root
13    group root
14    oneshot
15