blob: fbac4128d1953432e860e8055ae3bb378e9159e6 [file] [log] [blame]
service hiccup_logcat /system/bin/logcat -v time -r 1024 -n 10 -f /data/hiccup/logcat.txt
disabled
user root
group root
service hiccup_logradio /system/bin/logcat -v time -b radio -r 1024 -n 10 -f /data/hiccup/logcat-radio.txt
disabled
user root
group root
service hiccup_logevents /system/bin/logcat -v time -b events -r 1024 -n 10 -f /data/hiccup/logcat-events.txt
disabled
user root
group root
service hiccupd /system/bin/hiccupd
class core
user root
group system
on post-fs-data
mkdir /data/hiccup
on property:persist.fp.hiccup.logging=1
wait /data/hiccup
start hiccup_logcat
start hiccup_logradio
start hiccup_logevents
on property:persist.fp.hiccup.logging=0
stop hiccup_logcat
stop hiccup_logradio
stop hiccup_logevents