summaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2015-02-27 19:34:33 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-02-27 19:34:33 +0000
commit1dd71ae12e2e47c9ca63eb04878ee9632cc4417c (patch)
treeda5f2fcf2b8c375e15262fb01122cee4cf5539cc /rootdir
parentb8d1af618d9b8486765933bda03f2e80c1166491 (diff)
parentf33c3bc9602e4a369c4cc5d28357b8f73a3eed6c (diff)
downloadsystem_core-1dd71ae12e2e47c9ca63eb04878ee9632cc4417c.zip
system_core-1dd71ae12e2e47c9ca63eb04878ee9632cc4417c.tar.gz
system_core-1dd71ae12e2e47c9ca63eb04878ee9632cc4417c.tar.bz2
am f33c3bc9: Merge "init: drop dontpanic & apanic initialization"
* commit 'f33c3bc9602e4a369c4cc5d28357b8f73a3eed6c': init: drop dontpanic & apanic initialization
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/init.rc16
1 files changed, 0 insertions, 16 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index 9531166..e3b5db9 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -240,22 +240,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