mirror of https://github.com/koreader/koreader
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
242 B
Bash
9 lines
242 B
Bash
13 years ago
|
echo unlock > /proc/keypad
|
||
|
echo unlock > /proc/fiveway
|
||
|
cd /mnt/us/test/
|
||
|
cat /dev/fb0 > screen.fb0 &
|
||
|
pdf=`lsof | grep /mnt/us/documents | cut -c81- | sort -u`
|
||
|
./reader.lua "$pdf"
|
||
|
cat screen.fb0 > /dev/fb0
|
||
|
echo 1 > /proc/eink_fb/update_display
|