From 5a384bc6d9e0ac2800ed2b9cd68e69484570421b Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Fri, 23 Dec 2011 22:47:48 +0100 Subject: [PATCH] open /mnt/us/documents by default This option also removed fb save/reload which speeds up startup and exit --- launchpad/kpdf.sh | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/launchpad/kpdf.sh b/launchpad/kpdf.sh index 9bed33e3b..d2b94d902 100755 --- a/launchpad/kpdf.sh +++ b/launchpad/kpdf.sh @@ -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