projects
/
platform
/
core
/
system
/
crash-worker.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Release 5.5.23
[platform/core/system/crash-worker.git]
/
dump_scripts
/
system_log.sh
1
#!/bin/sh
2
#
3
# Dump system log
4
#
5
PATH=/bin:/usr/bin:/sbin:/usr/sbin
6
7
DUMP_DEST=$1/log/system_log
8
9
mkdir -p ${DUMP_DEST}
10
11
/bin/cp -fr /opt/var/log/* ${DUMP_DEST}
12
/bin/cp -fr /run/systemd/journal ${DUMP_DEST}