initializing tree with aospdtgen just fr skeleton
This commit is contained in:
12
rootdir/bin/apanic_save.sh
Normal file
12
rootdir/bin/apanic_save.sh
Normal file
@ -0,0 +1,12 @@
|
||||
#!/vendor/bin/sh
|
||||
#
|
||||
# Copyright (c) 2016, Motorola Mobility LLC, All rights reserved.
|
||||
#
|
||||
# The purpose of this script is to get panic dump from pstore fs, and then
|
||||
# save to emmc, and then reboot device.
|
||||
#
|
||||
|
||||
export PATH=/vendor/bin:/system/bin:$PATH
|
||||
|
||||
# write log from pstore to "kpan" partition
|
||||
kpreadwrite w
|
Reference in New Issue
Block a user