summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2014-06-24 22:43:39 +0200
committerColin Cross <ccross@android.com>2014-06-24 22:43:39 +0200
commit22bcf97a5949816db85242157cb2640feed73616 (patch)
tree976189b7ab045f74c680eae4ff092a3f8075530f
parentUse LOCAL_REQUIRED_MODULES for mkfs.f2fs (diff)
downloadandroid_bootable_recovery-22bcf97a5949816db85242157cb2640feed73616.tar
android_bootable_recovery-22bcf97a5949816db85242157cb2640feed73616.tar.gz
android_bootable_recovery-22bcf97a5949816db85242157cb2640feed73616.tar.bz2
android_bootable_recovery-22bcf97a5949816db85242157cb2640feed73616.tar.lz
android_bootable_recovery-22bcf97a5949816db85242157cb2640feed73616.tar.xz
android_bootable_recovery-22bcf97a5949816db85242157cb2640feed73616.tar.zst
android_bootable_recovery-22bcf97a5949816db85242157cb2640feed73616.zip
-rw-r--r--etc/init.rc2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/init.rc b/etc/init.rc
index 8ed003888..23aca5aa2 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