From 22bcf97a5949816db85242157cb2640feed73616 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Tue, 24 Jun 2014 13:43:39 -0700 Subject: recovery: enable panic_on_oops Set panic_on_oops=1 to reboot if the kernel panics. Change-Id: Id9e8689a570229db2ea2a3d72b52784f8a1ed107 --- etc/init.rc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'etc') diff --git a/etc/init.rc b/etc/init.rc index 8ed0038..23aca5a 100644 --- a/etc/init.rc +++ b/etc/init.rc @@ -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 -- cgit v1.1