recovery: enable panic_on_oops
Set panic_on_oops=1 to reboot if the kernel panics. Change-Id: Id9e8689a570229db2ea2a3d72b52784f8a1ed107
This commit is contained in:
parent
b9afc2bf15
commit
22bcf97a59
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue