My launcher.sh:
$root/.kobo/fmon/fmon $root/launcher.png $root/.kobo/KoboLauncher/KoboLauncher.sh > /dev/null 2>&1 &
My koreader.sh:
$root/.kobo/fmon/fmon $root/koreader.png $root/.kobo/koreader/koreader_kobo.sh &
My koreader_kobo.sh:
#!/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"
# Decrease the reasons for crashes. Search forum for cgm999's explanation.
exec 3<&-
# Stop nickel and related processes
killall nickel
killall adobehost
killall dbus-daemon
killall hindenburg
# Start USBnet
/mnt/onboard/.kobo/KoboLauncher/usbnet/start.sh
# finally call reader
./reader.lua /mnt/onboard 2> crash.log
# continue with nickel
reboot
I don't think the Start USBnet line is working anymore, though.
By the way I have all three on my desktop so I can easily copy them over any update changes.
Luck;
Ken
|