From aeb8a95dee62ea45df4bc4cde1baba1d3c77c9cb Mon Sep 17 00:00:00 2001 From: Maunik Shah Date: Tue, 19 May 2015 14:55:50 +0530 Subject: [PATCH] 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 --- rootdir/etc/init.qcom.rc | 1 + 1 file changed, 1 insertion(+) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index e4aab978..211bf225 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -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