Skip to content

Commit

Permalink
mss: service: stop spamming getprop commands
Browse files Browse the repository at this point in the history
* This probably only slows down the system during boot
* Instead, just wait 5 seconds before attempting to read the sys.boot_completed property again

* This is not an urgent service anyways, we can wait

Signed-off-by: chickendrop89 <[email protected]>
  • Loading branch information
chickendrop89 committed Jul 19, 2024
1 parent b9fa7cd commit 2b37c0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# Wait until system boot is *really* completed
while [ "$(getprop sys.boot_completed)" != "1" ];
do
sleep 1
sleep 5
done

# Import common functions from file
Expand Down

0 comments on commit 2b37c0e

Please sign in to comment.