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