Quote:
Originally Posted by Markismus
It is mounted in /mnt/sd isn't it? Couldn't you unmount it before nickel and remount before reader.lua?
|
I could try changing koreader_kobo.sh to this:
#!/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 nickel
# mount external SD and finally call reader
mount -t vfat -o iocharset=utf8 /dev/mmcblk1p1 /mnt/sd
./reader.lua "$1" 2> crash.log
# Unmount external SD and continue with nickel
umount /mnt/sd
reboot
---------------------------------------------
Not sure I want or need the "/dev/mmcblk1p1"
I'll give this a try after awhile.
Luck;
Ken