2
0
mirror of https://github.com/koreader/koreader synced 2024-11-18 03:25:46 +00:00
koreader/launchpad/kpdf.sh

12 lines
235 B
Bash
Executable File

#!/bin/sh
export LC_ALL="en_US.UTF-8"
echo unlock > /proc/keypad
echo unlock > /proc/fiveway
cd /mnt/us/kindlepdfviewer/
./reader.lua "$1" 2> /mnt/us/kindlepdfviewer/crash.log
killall -cont cvm
echo 1 > /proc/eink_fb/update_display