From 479efb540a198a9b7cd278387b0d45009a05bb2b Mon Sep 17 00:00:00 2001 From: Todd Poynor Date: Thu, 21 Nov 2013 20:23:54 -0800 Subject: init.rc: mount pstore fs, set console-ramoops permissions Change-Id: I44cb00f9123c6044a03de926b6a616da753bb549 --- rootdir/init.rc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'rootdir') 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 -- cgit v1.1