2
0
mirror of https://github.com/koreader/koreader synced 2024-11-02 15:40:16 +00:00
koreader/koreader_kobo.sh
Markismus 6465398731 If Nickel is not stopped, it interferes with Koreader.
The sleep function kicks in after the set time and it will freeze koreader.
Pulling the power switch gives back control momentarily, but it changes to standby within tens of seconds.
2013-12-16 11:34:02 +01:00

21 lines
394 B
Bash

#!/bin/sh
export LC_ALL="en_US.UTF-8"
# we're always starting from our working directory
cd /mnt/onboard/.kobo/koreader/
# export trained OCR data directory
export TESSDATA_PREFIX="data"
# export dict directory
export STARDICT_DATA_DIR="data/dict"
# stop Nickel
killall -STOP nickel
# finally call reader
./reader.lua /mnt/onboard 2> crash.log
# continue with nickel
killall -CONT nickel