am 9c92ad31: am 2f25cb47: Merge "logpersist: Additional barrier"

* commit '9c92ad3125b251109c6537e45d147650756058ca':
  logpersist: Additional barrier
This commit is contained in:
Mark Salyzyn 2015-09-21 22:31:57 +00:00 committed by Android Git Automerger
commit 529c2c1c07
1 changed files with 7 additions and 1 deletions

View File

@ -1,9 +1,15 @@
#! /system/bin/sh
# logpersist cat start and stop handlers
progname="${0##*/}"
case `getprop ro.build.type` in
userdebug|eng) ;;
*) echo "${progname} - Permission denied"
exit 1
;;
esac
data=/data/misc/logd
property=persist.logd.logpersistd
service=logcatd
progname="${0##*/}"
if [ X"${1}" = "-h" -o X"${1}" = X"--help" ]; then
echo "${progname%.*}.cat - dump current ${service%d} logs"
echo "${progname%.*}.start - start ${service} service"