init.qcom.rc: create /data/ramdump directory for subsystem_ramdump

To store subsystem ramdumps on persistent storage, /data/ramdump
folder is created on persist.sys.ssr.enable_ramdumps property set

Change-Id: I9aba35e09656c36f1056fc2255f75e094916fafa
CRs-Fixed: 838055
This commit is contained in:
Maunik Shah 2015-05-19 14:55:50 +05:30 committed by Gerrit - the friendly Code Review server
parent d16caca83c
commit aeb8a95dee
1 changed files with 1 additions and 0 deletions

View File

@ -334,6 +334,7 @@ on property:persist.sys.ssr.restart_level=*
on property:persist.sys.ssr.enable_ramdumps=1
write /sys/module/subsystem_restart/parameters/enable_ramdumps 1
mkdir /data/ramdump 770 system system
start ss_ramdump
on property:persist.sys.ssr.enable_ramdumps=0