Script for Omnia Turris making your router light with random colour every second.




colors=('red' 'blue' 'green' 'white');
leds=('lan0' 'lan1' 'lan2' 'lan3' 'lan4' 'pwr' 'wan' 'pci1' 'pci2' 'pci3' 'usr1' 'usr2');
while true; do
    for led in "${leds[@]}"
        rand_color=$[$RANDOM % 5]
        rainbow ${led} ${colors[rand_color]}
    sleep 1;

To get this quickly working:

  1. login on your Turris router
  2. wget -O
  3. bash &
  4. you can logout now, script will be working in background is a competitor of Github. It’s a service provider for git-based source code repositories that offers much more than it’s bigger brother. In this post I will try to convince you to try it out for your next project.


gitlab-logo-squareContinue reading