From 3b5076a112e4dd18d366418b3700895e4380d6cd Mon Sep 17 00:00:00 2001 From: NiLuJe Date: Tue, 5 Aug 2014 17:23:20 +0200 Subject: [PATCH] Minor tweaks to the Kindle startup script. Don't sleep during eips calls in ASAP mode Only show the 'starting KOReader' eips msg w/ KUAL --- kindle/koreader.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/kindle/koreader.sh b/kindle/koreader.sh index 3b655175a..1f7fd7491 100755 --- a/kindle/koreader.sh +++ b/kindle/koreader.sh @@ -56,6 +56,8 @@ elif [ "$1" == "--asap" ] ; then shift 1 NO_SLEEP="yes" STOP_FRAMEWORK="no" + # Don't sleep during eips calls either... + export EIPS_NO_SLEEP="true" else STOP_FRAMEWORK="no" NO_SLEEP="no" @@ -190,7 +192,10 @@ fi # finally call reader logmsg "Starting KOReader . . ." -eips_print_bottom_centered "Starting KOReader . . ." 1 +# That's not necessary when using KPVBooklet ;). +if [ "${FROM_KUAL}" == "yes" ] ; then + eips_print_bottom_centered "Starting KOReader . . ." 1 +fi ./reader.lua "$@" 2> crash.log # clean up our own process tree in case the reader crashed (if needed, to avoid flooding KUAL's log)