recovery: enable panic_on_oops

Set panic_on_oops=1 to reboot if the kernel panics.

Change-Id: Id9e8689a570229db2ea2a3d72b52784f8a1ed107
This commit is contained in:
Colin Cross 2014-06-24 13:43:39 -07:00
parent b9afc2bf15
commit 22bcf97a59

View file

@ -28,6 +28,8 @@ on init
chown root shell /tmp
chmod 0775 /tmp
write /proc/sys/kernel/panic_on_oops 1
on fs
mkdir /dev/usb-ffs 0770 shell shell
mkdir /dev/usb-ffs/adb 0770 shell shell