summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTodd Poynor2013-11-21 22:23:54 -0600
committerTodd Poynor2013-11-21 22:23:54 -0600
commit479efb540a198a9b7cd278387b0d45009a05bb2b (patch)
tree5355d6183279fbed22c3a66ab15c06dc05d6eb03 /rootdir/init.rc
parente65b7ea8801145626504c724c28aedd0e5038a28 (diff)
downloadplatform-system-core-android-sdk-4.4.2_r1.tar.gz
platform-system-core-android-sdk-4.4.2_r1.tar.xz
platform-system-core-android-sdk-4.4.2_r1.zip
init.rc: mount pstore fs, set console-ramoops permissionsandroid-sdk-4.4.2_r1.0.1android-sdk-4.4.2_r1
Change-Id: I44cb00f9123c6044a03de926b6a616da753bb549
Diffstat (limited to 'rootdir/init.rc')
-rw-r--r--rootdir/init.rc5
1 files changed, 5 insertions, 0 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index a0a98134b..21ebccb79 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -136,6 +136,11 @@ loglevel 3
136# checker programs. 136# checker programs.
137 mkdir /dev/fscklogs 0770 root system 137 mkdir /dev/fscklogs 0770 root system
138 138
139# pstore/ramoops previous console log
140 mount pstore pstore /sys/fs/pstore
141 chown system log /sys/fs/pstore/console-ramoops
142 chmod 0440 /sys/fs/pstore/console-ramoops
143
139on post-fs 144on post-fs
140 # once everything is setup, no need to modify / 145 # once everything is setup, no need to modify /
141 mount rootfs rootfs / ro remount 146 mount rootfs rootfs / ro remount