recovery: enable panic_on_oops

Set panic_on_oops=1 to reboot if the kernel panics.

Change-Id: Id9e8689a570229db2ea2a3d72b52784f8a1ed107
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 @@
     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