#------------------------------------------------------------------------------ # /etc/rc.d/rc998.hwsupp - stop blinking __FLI4LVER__ # # Creation: 29.11.2005 hh # Last Update: $Id$ #------------------------------------------------------------------------------ if [ "$OPT_HWSUPP" = "yes" ] then if [ "$HWSUPP_DAEMON" = "yes" ] then begin_script HWSUPP "switching LEDs ..." [ "$HWSUPP_LED_N" -eq 0 ] || for i in `seq 1 $HWSUPP_LED_N` do echo "led$i off" > /var/run/embedded.fifo done . /var/run/hwsupp.conf if [ -n "$hwsupp_ready_led" ] then echo "$hwsupp_ready_led on" > /var/run/embedded.fifo fi if [ -n "$hwsupp_wlan_led" ] then if ip link show $HWSUPP_WLAN_DEV 2>/dev/null | grep -q "[<,]UP[,>]" then echo "$hwsupp_wlan_led on" > /var/run/embedded.fifo fi fi [ -n "$hwsupp_user_led" ] && . $hwsupp_user_script fi end_script fi