From 7598b30633e3b2efa3216a20361e4a467c1bd8d1 Mon Sep 17 00:00:00 2001 From: Karthik Gopalan Date: Wed, 20 Jun 2018 17:57:18 +0530 Subject: [PATCH] sanders: Swap disk creation Create swap disks CRs-Fixed: 2264866 Change-Id: Id57a4e8d413c7dafb49d073980f10010003f616e Signed-off-by: Ashwin R C Signed-off-by: ronaxdevil --- rootdir/etc/init.qcom.rc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 1c9e6b6..1183587 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -448,8 +448,8 @@ on post-fs-data mkdir /data/vendor/iop 0700 root system #Create SWAP related dirs - mkdir /data/system/swap 0770 root system - chmod 2770 /data/system/swap + mkdir /data/vendor/swap 0770 root system + chmod 2770 /data/vendor/swap # Force all SSR systems to 'related' so they attempt # self-recovery without rebooting the device