mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
open /mnt/us/documents by default
This option also removed fb save/reload which speeds up startup and exit
This commit is contained in:
@@ -2,13 +2,5 @@
|
||||
echo unlock > /proc/keypad
|
||||
echo unlock > /proc/fiveway
|
||||
cd /mnt/us/test/
|
||||
cat /dev/fb0 > /tmp/screen.fb0 &
|
||||
if [ "x$1" == "x" ] ; then
|
||||
pdf=`lsof | grep /mnt/us/documents | cut -c81- | sort -u`
|
||||
else
|
||||
pdf="$1"
|
||||
fi
|
||||
./reader.lua "$pdf"
|
||||
cat /tmp/screen.fb0 > /dev/fb0
|
||||
rm /tmp/screen.fb0
|
||||
./reader.lua /mnt/us/documents
|
||||
echo 1 > /proc/eink_fb/update_display
|
||||
|
||||
Reference in New Issue
Block a user