pub / sguard

Suspend Guard for the PhoneShell "Phosh"
git clone https://https://src.jayvii.de/pub/sguard.git
Home | Log | Files | Exports | Refs | README | RSS

commit ed009cfa6bb9052abc2bcf6d24cf3cca5bad279e
parent 8a8ed44339b9ea09692a642ec20c9b22d270deca
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date:   Mon, 11 Jan 2021 15:58:43 +0100

timestamps are provided by journalctl/systemd

Diffstat:
Msguard/sguard.sh | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sguard/sguard.sh b/sguard/sguard.sh @@ -54,11 +54,11 @@ else if [[ "$SHOULD_STATE" == "true" ]]; then prevent_sleep echo "true" > $STATEFILE - echo "[info] `date '+%Y-%m-%d %H-%M-%S'` inhibit sleep" + echo "inhibit sleep" else reset_settings echo "false" > $STATEFILE - echo "[info] `date '+%Y-%m-%d %H-%M-%S'` uninhibit sleep" + echo "uninhibit sleep" fi fi sleep $TIMEOUT