slitaz-arm rev 170
Small improvment to pileds
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 04 19:37:40 2014 +0200 (2014-05-04) |
parents | f3a522138df4 |
children | 6db0c7f6fd10 |
files | rpi/pileds |
line diff
1.1 --- a/rpi/pileds Sun May 04 19:27:55 2014 +0200 1.2 +++ b/rpi/pileds Sun May 04 19:37:40 2014 +0200 1.3 @@ -41,6 +41,7 @@ 1.4 act) 1.5 brightness="/sys/class/leds/led0/brightness" 1.6 status="$(cat $brightness)" 1.7 + [ "$quiet" ] || gettext "Current status:"; echo " '$status'" 1.8 if [ "$status" == 0 ]; then 1.9 echo "1" > ${brightness} 1.10 else 1.11 @@ -54,7 +55,7 @@ 1.12 if [ -f "${scripts}/ex_7segment_clock.py" ]; then 1.13 python ${scripts}/ex_7segment_clock.py 1.14 else 1.15 - echo "Missing: ${scripts}/ex_7segment_clock.py" 1.16 + gettext "Missing:"; echo " ${scripts}/ex_7segment_clock.py" 1.17 fi ;; 1.18 1.19 8x8)