From e20a79c85ad3c87ab45041c5eef04acd5ae455c7 Mon Sep 17 00:00:00 2001
From: Ankit Jain <jankit@codeaurora.org>
Date: Wed, 6 Jun 2018 09:03:39 +0200
Subject: [PATCH] onclite: init.qcom.rc : create default dir for tombstone data

This change creates the default tombstone dir(rfs) on bootup.
This dir is used by tftp_server to save modem ssr dump data.

Change-Id: I6c7399dd33ba768f6660cbbab352515527c1da11
Signed-off-by: Dhina17 <dhinalogu@gmail.com>
---
 rootdir/init.qcom.rc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/rootdir/init.qcom.rc b/rootdir/init.qcom.rc
index 154ed58..e42e7bb 100644
--- a/rootdir/init.qcom.rc
+++ b/rootdir/init.qcom.rc
@@ -242,6 +242,7 @@ on post-fs-data
 
     #Create directory for tftp
     mkdir /data/vendor/tombstones 0771 system system
+    mkdir /data/vendor/tombstones/rfs 0771 system system
 
     mkdir /data/vendor/ramdump 0771 root system
     mkdir /data/misc/bluetooth 0770 bluetooth bluetooth
-- 
GitLab