init.rc: mount pstore fs, set console-ramoops permissions

Change-Id: I44cb00f9123c6044a03de926b6a616da753bb549
This commit is contained in:
Todd Poynor 2013-11-21 20:23:54 -08:00
parent e65b7ea880
commit 479efb540a

View file

@ -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