mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
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
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user