fix crash, and improve makefile
[7seg/.git] / last
1 #!/bin/bash
2
3 picpath="/users/ssalbiz/dev/invcam/"
4
5 while read -e user
6 do
7   user=`echo $user | sed 's/.* //'`
8   echo $user
9   if [ -f  "${picpath}/${user}.png" ]; then
10     ./blit_fb "${picpath}/${user}.png"
11   else
12     ./blit_fb "${picpath}/black.png"
13   fi
14 done