2
0
mirror of https://github.com/koreader/koreader synced 2024-11-16 06:12:56 +00:00
koreader/kobo/koreader.sh

21 lines
400 B
Bash
Raw Normal View History

#!/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"
# exit from nickel
2014-07-03 18:18:01 +00:00
killall nickel hindenburg fmon
# finally call the launcher
2013-08-06 10:03:10 +00:00
./reader.lua /mnt/onboard 2> crash.log
2014-07-03 11:40:53 +00:00
# back to nickel
./nickel.sh