From 86cfca447c76a535b5d292a58c5747789963dc4a Mon Sep 17 00:00:00 2001 From: NiLuJe Date: Thu, 10 Jul 2014 01:17:32 +0200 Subject: [PATCH] Don't even try to launch on Kindle FW 5.0 --- kindle/koreader.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/kindle/koreader.sh b/kindle/koreader.sh index 3e2243e3b..8526c439f 100755 --- a/kindle/koreader.sh +++ b/kindle/koreader.sh @@ -31,6 +31,15 @@ logmsg() echo "${1}" } +# Go away if we're on FW 5.0, it's not supported +if [ "${INIT_TYPE}" == "upstart" ] ; then + if grep '^Kindle 5\.0' /etc/prettyversion.txt > /dev/null 2>&1 ; then + logmsg "FW 5.0 is not supported. Update to 5.1!" + # And... scene! + exit 0 + fi +fi + # Keep track of what we do with pillow... PILLOW_DISABLED="no"