implemented a --strict mode for sxmo_rtcwake in which it only runs when coming from crust

Signed-off-by: Stacy Harper <contact@stacyharper.net>
This commit is contained in:
Maarten van Gompel 2021-07-25 14:19:35 +02:00 committed by Stacy Harper
parent 9a7ca6e369
commit 4798717d9d
No known key found for this signature in database
GPG key ID: 5BAC92328B7C5D65
2 changed files with 12 additions and 3 deletions

View file

@ -72,7 +72,7 @@ updateLed() {
esac
}
if [ "$1" != "getCurState" ]; then
if [ "$1" != "getCurState" ] && [ "$1" != "updateLed" ]; then
d=$(date)
echo "sxmo_screenlock: transitioning to stage $1 ($d)" >&2
fi