replicant-vendor_replicant/prebuilt/common/bin/handle_compcache
Eddie Ringle 7e52cbfa0a Only enable/disable compcache at boot
Signed-off-by: Eddie Ringle <eddie.ringle@gmail.com>
2010-08-18 00:07:20 -04:00

18 lines
243 B
Bash
Executable File

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