2
0
mirror of https://github.com/koreader/koreader synced 2024-10-31 21:20:20 +00:00
koreader/koreader_kobo.sh

19 lines
345 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"
# finally call reader
./reader.lua /mnt/onboard 2> crash.log
# continue with nickel
reboot