mirror of https://github.com/koreader/koreader
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
609 B
Bash
28 lines
609 B
Bash
#!/bin/sh
|
|
|
|
# KOReader's working directory
|
|
KOREADER_DIR="/mnt/us/koreader"
|
|
|
|
# We do NOT want to sleep during eips calls!
|
|
export EIPS_NO_SLEEP="true"
|
|
|
|
# Load our helper functions...
|
|
if [ -f "${KOREADER_DIR}/libkohelper.sh" ]; then
|
|
# shellcheck source=/dev/null
|
|
. "${KOREADER_DIR}/libkohelper.sh"
|
|
else
|
|
echo "Can't source helper functions, aborting!"
|
|
exit 1
|
|
fi
|
|
|
|
# What are we printing?
|
|
case "${1}" in
|
|
"clear")
|
|
eips_print_bottom_centered " " 3
|
|
eips_print_bottom_centered " " 2
|
|
;;
|
|
*)
|
|
eips_print_bottom_centered "Computing zsync delta . . ." 3
|
|
;;
|
|
esac
|