Browse Source

#647 fix random range

v1.3
Christian Rotzoll 6 years ago
parent
commit
00c554c42a
  1. 2
      home.admin/_bootstrap.sh

2
home.admin/_bootstrap.sh

@ -41,7 +41,7 @@ echo "***********************************************" >> $logFile
# display 3 secs logo - try to kickstart LCD
# see https://github.com/rootzoll/raspiblitz/issues/195#issuecomment-469918692
# see https://github.com/rootzoll/raspiblitz/issues/647
randnum=$(shuf -i 0-8 -n 1)
randnum=$(shuf -i 0-7 -n 1)
sudo fbi -a -T 1 -d /dev/fb1 --noverbose /home/admin/raspiblitz/pictures/startlogo${randnum}.png
sleep 5
sudo killall -3 fbi

Loading…
Cancel
Save