* commit '1dd71ae12e2e47c9ca63eb04878ee9632cc4417c': init: drop dontpanic & apanic initialization
This commit is contained in:
commit
20dc9c01fa
1 changed files with 0 additions and 16 deletions
|
|
@ -240,22 +240,6 @@ on post-fs-data
|
||||||
# Avoid predictable entropy pool. Carry over entropy from previous boot.
|
# Avoid predictable entropy pool. Carry over entropy from previous boot.
|
||||||
copy /data/system/entropy.dat /dev/urandom
|
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
|
# create basic filesystem structure
|
||||||
mkdir /data/misc 01771 system misc
|
mkdir /data/misc 01771 system misc
|
||||||
mkdir /data/misc/adb 02750 system shell
|
mkdir /data/misc/adb 02750 system shell
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue