diff options
author | Mark Salyzyn <salyzyn@google.com> | 2015-02-26 17:17:55 -0800 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2015-02-27 07:03:01 -0800 |
commit | 1eaba37aae04ba3db65e4c3564192d53b2137bac (patch) | |
tree | 233f0f43ef79fe9f8b36620c8909b7580f218e18 /rootdir | |
parent | be9712156bdcf8cff774a78a3afdb0c562998c73 (diff) | |
download | system_core-1eaba37aae04ba3db65e4c3564192d53b2137bac.zip system_core-1eaba37aae04ba3db65e4c3564192d53b2137bac.tar.gz system_core-1eaba37aae04ba3db65e4c3564192d53b2137bac.tar.bz2 |
init: drop dontpanic & apanic initialization
Bug: 19050686
Bug: 19525200
Change-Id: Id81abe3b44283b439390b42db7a9da23748dee0a
Diffstat (limited to 'rootdir')
-rw-r--r-- | rootdir/init.rc | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc index 0452f75..2a599ac 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -247,22 +247,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 |