slitaz-arm rev 178
pileds: we may exec 8x8 command without option
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed May 07 14:02:43 2014 +0200 (2014-05-07) |
parents | e9499da41587 |
children | 51bb376fecef |
files | rpi/pileds |
line diff
1.1 --- a/rpi/pileds Wed May 07 14:00:29 2014 +0200 1.2 +++ b/rpi/pileds Wed May 07 14:02:43 2014 +0200 1.3 @@ -66,7 +66,7 @@ 1.4 fi ;; 1.5 1.6 8x8) 1.7 - if [ "$2" == "--test" ]; then 1.8 + if [ "$2" == "--test" ]|| [ ! "$2" ]; then 1.9 script="/usr/share/adafruit/LEDBackpack/ex_8x8_pixels.py" 1.10 check_packages "python-rpi-adafruit" 1.11 else