replicant-vendor_replicant/prebuilt/common/bin/handle_compcache

18 lines
243 B
Plaintext
Raw Normal View History

#!/system/bin/sh
#
# Compcache handler
# Decides whether or not Compcache is enabled
#
PROP=$(cat /data/property/persist.service.compcache)
if [ $PROP == 1 ]
then
`dirname $0`/compcache start
else
`dirname $0`/compcache stop
fi
exit 0