From eecdf5bb9ba9dd4046860f68d82a5ade3cf66489 Mon Sep 17 00:00:00 2001 From: yparitcher Date: Wed, 16 Sep 2020 15:08:47 -0400 Subject: [PATCH] kindle: honor --asap (#6662) --- platform/kindle/koreader.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/platform/kindle/koreader.sh b/platform/kindle/koreader.sh index 224c43359..21a92fa7d 100755 --- a/platform/kindle/koreader.sh +++ b/platform/kindle/koreader.sh @@ -96,8 +96,10 @@ fi if [ "${FROM_KUAL}" = "yes" ]; then # Yield a bit to let stuff stop properly... logmsg "Hush now . . ." - # NOTE: This may or may not be terribly useful... - usleep 250000 + if [ "${NO_SLEEP}" = "no" ]; then + # NOTE: This may or may not be terribly useful... + usleep 250000 + fi # If we were started by the KUAL Kindlet, and not the Booklet, we have a nice value to correct... if [ "$(nice)" = "5" ]; then