diff options
author | Todd Poynor <toddpoynor@google.com> | 2013-11-21 20:23:54 -0800 |
---|---|---|
committer | Todd Poynor <toddpoynor@google.com> | 2013-11-21 20:23:54 -0800 |
commit | 479efb540a198a9b7cd278387b0d45009a05bb2b (patch) | |
tree | 5355d6183279fbed22c3a66ab15c06dc05d6eb03 /rootdir | |
parent | e65b7ea8801145626504c724c28aedd0e5038a28 (diff) | |
download | system_core-479efb540a198a9b7cd278387b0d45009a05bb2b.zip system_core-479efb540a198a9b7cd278387b0d45009a05bb2b.tar.gz system_core-479efb540a198a9b7cd278387b0d45009a05bb2b.tar.bz2 |
init.rc: mount pstore fs, set console-ramoops permissions
Change-Id: I44cb00f9123c6044a03de926b6a616da753bb549
Diffstat (limited to 'rootdir')
-rw-r--r-- | rootdir/init.rc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc index a0a9813..21ebccb 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -136,6 +136,11 @@ loglevel 3 # checker programs. mkdir /dev/fscklogs 0770 root system +# pstore/ramoops previous console log + mount pstore pstore /sys/fs/pstore + chown system log /sys/fs/pstore/console-ramoops + chmod 0440 /sys/fs/pstore/console-ramoops + on post-fs # once everything is setup, no need to modify / mount rootfs rootfs / ro remount |