Omnia Turris – random rainbow colours

Script for Omnia Turris making your router light with random colour every second.       #!/bin/bash   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[@]}" do rand_color=$[$RANDOM % 5] rainbow ${led} ${colors[rand_color]} done sleep 1; done#!/bin/bash colors=(‘red’ ‘blue’ […]