#!/bin/sh #------------------------------------------------------------------------------ # /etc/rc.d/bootled-progress __FLI4LVER__ # # Creation: 2014-10-11 cspiess # Last Update: $$ #------------------------------------------------------------------------------ bootled_progess () { pattern=$1 [ 0$HWSUPP_LED_N -eq 0 ] || for i in `seq 1 $HWSUPP_LED_N` do eval action=\$HWSUPP_LED_${i} if [ 0$HWSUPP_BOOT_LED -eq $i -o "$action" = "ready" ] then echo $pattern >/var/run/hwsuppd/hwsupp-led${i}/pattern fi done }