summaryrefslogtreecommitdiffstats
path: root/rootdir/init.rc
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2015-02-27 19:44:46 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-02-27 19:44:46 +0000
commit87946e714b8efd4448efc90812306afbce62a8c7 (patch)
tree65a5c13dfa4b7599e4688ed57ec8c57ffb57443d /rootdir/init.rc
parente6b0512efae64219f140b852e885d2e42f0a78d8 (diff)
parent20dc9c01fabb33ed5a0e17b8efbdcdbe576c0941 (diff)
downloadsystem_core-87946e714b8efd4448efc90812306afbce62a8c7.zip
system_core-87946e714b8efd4448efc90812306afbce62a8c7.tar.gz
system_core-87946e714b8efd4448efc90812306afbce62a8c7.tar.bz2
am 20dc9c01: am 1dd71ae1: am f33c3bc9: Merge "init: drop dontpanic & apanic initialization"
* commit '20dc9c01fabb33ed5a0e17b8efbdcdbe576c0941': init: drop dontpanic & apanic initialization
Diffstat (limited to 'rootdir/init.rc')
-rw-r--r--rootdir/init.rc16
1 files changed, 0 insertions, 16 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index 6612054..e351e91 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -244,22 +244,6 @@ on post-fs-data
# Avoid predictable entropy pool. Carry over entropy from previous boot.
copy /data/system/entropy.dat /dev/urandom
- # Create dump dir and collect dumps.
- # Do this before we mount cache so eventually we can use cache for
- # storing dumps on platforms which do not have a dedicated dump partition.
- mkdir /data/dontpanic 0750 root log
-
- # Collect apanic data, free resources and re-arm trigger
- copy /proc/apanic_console /data/dontpanic/apanic_console
- chown root log /data/dontpanic/apanic_console
- chmod 0640 /data/dontpanic/apanic_console
-
- copy /proc/apanic_threads /data/dontpanic/apanic_threads
- chown root log /data/dontpanic/apanic_threads
- chmod 0640 /data/dontpanic/apanic_threads
-
- write /proc/apanic_console 1
-
# create basic filesystem structure
mkdir /data/misc 01771 system misc
mkdir /data/misc/adb 02750 system shell