summaryrefslogtreecommitdiff
path: root/init.target.rc
diff options
context:
space:
mode:
authorAshay Jaiswal <ashayj@codeaurora.org>2016-09-09 13:59:43 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2016-09-20 23:31:49 -0700
commit6a4a51b3646c644e775b6d2c75919692ea863b5d (patch)
tree819f519972df33eada3ae97976015c034c3aa274 /init.target.rc
parentdd8626a6c61e219562415a157877b6d45896de19 (diff)
msmfalcon_64: init.target.rc: create /persist/bms with proper permissions
libhealthd.msm will store some battery parameters to a file under /persist/bms. Create a directory with necessary permissions. CRs-Fixed: 1066074 Change-Id: I90f609c38c570842d54abe1d6b411a4ce71bd0d1
Diffstat (limited to 'init.target.rc')
-rw-r--r--init.target.rc3
1 files changed, 2 insertions, 1 deletions
diff --git a/init.target.rc b/init.target.rc
index c90b0e2..3ef72a1 100644
--- a/init.target.rc
+++ b/init.target.rc
@@ -48,8 +48,9 @@ on fs
wait /dev/block/bootdevice/by-name/persist
mount ext4 /dev/block/bootdevice/by-name/persist /persist nosuid nodev barrier=1
- restorecon_recursive /persist
mkdir /persist/data 0700 system system
+ mkdir /persist/bms 0700 root system
+ restorecon_recursive /persist
wait /dev/block/bootdevice/by-name/dsp
mount ext4 /dev/block/bootdevice/by-name/dsp /dsp ro nosuid nodev barrier=1