android_device_motorola_guamp/rootdir/bin/apanic_save.sh
GarfieldFernando eddf6fbda6 guamp: Initial device tree
- Initial device tree for guamp device
- Based in Qualcomm SM6115

Signed-off-by: GarfieldFernando <ferchito.zoma@gmail.com>
2021-01-18 15:03:21 -06:00

12 lines
307 B
Bash

#!/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