#!/bin/sh #------------------------------------------------------------------------------ # __FLI4LVER__ # /usr/local/bin/faxrcv_setleds # Creation: 15.02.2016 cspiess # Last Update: $Id$ #------------------------------------------------------------------------------ mode=$1 if [ -f /var/run/hwsupp.conf ] then . /var/run/hwsupp.conf [ 0$hwsupp_led_n -eq 0 ] || for i in `seq 1 $hwsupp_led_n` do eval action=\$hwsupp_led_${i} if [ "$action" = "faxrcv" ] then # blink faxrcv LED /usr/bin/hwsupp_setled $i $mode fi done fi