Browse Source

recovery: init: mount pstore fs

Change-Id: Id3bf8763ccde54f87fde5cdf2db511649c376aa4
Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
Vojtech Bocek 6 years ago
parent
commit
ba674cf8e7
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      etc/init.rc

+ 3
- 0
etc/init.rc View File

@@ -40,6 +40,9 @@ on init
40 40
     write /proc/sys/kernel/panic_on_oops 1
41 41
     write /proc/sys/vm/max_map_count 1000000
42 42
 
43
+    # pstore/ramoops previous console log
44
+    mount pstore pstore /sys/fs/pstore
45
+
43 46
 on fs
44 47
     write /sys/class/android_usb/android0/f_ffs/aliases adb
45 48
     mkdir /dev/usb-ffs 0770 shell shell