localwrapped-magiskmodule/service.sh

22 lines
276 B
Bash
Raw Normal View History

2024-12-12 03:03:31 -05:00
# Schedule task
nohup /bin/sh > /dev/null 2>&1 <<EOF &
wait_boot_complete()
{
until [ "x\$(getprop sys.boot_completed)" == "x1" ]
do
sleep 5
done
}
wait_boot_complete
while true
do
/system/bin/localwrapped >> /data/local/tmp/localwrapped.log 2>&1
sleep 5
done
EOF