From e9e1179e6e27fd370782a50a791b7fef67549e2d Mon Sep 17 00:00:00 2001 From: Aren Moynihan Date: Fri, 2 Aug 2024 14:30:24 -0400 Subject: [PATCH] fix outdated references to sxmo_hook_wakelocks.sh Signed-off-by: Aren Moynihan --- USERGUIDE.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/USERGUIDE.md b/USERGUIDE.md index 437a916..d05fbd5 100644 --- a/USERGUIDE.md +++ b/USERGUIDE.md @@ -228,10 +228,9 @@ Clicking the powerkey again transitions to "unlock" state. (This prevents accident "butt" unlocks.) To determine if the phone can suspend into CRUST, sxmo relies on the hook -sxmo_hook_wakelocks.sh. For instance, an active ssh connection will set a -wakelock so the device won't suspend. You can override or replace those with -your own custom rules. - +sxmo_hook_block_suspend.sh. For instance, if there is an active ssh connection, +it will wait for it to close before allowing the phone to suspend. +You can override or replace those with your own custom rules. ### **Cron** @@ -657,7 +656,7 @@ Here are some (but not all) hooks available! - hooks/sxmo_hook_wakelocks.sh + hooks/sxmo_hook_block_suspend.sh

This script contains various rules for programs that should block suspend.

-- 2.45.2