#------------------------------------------------------------------------------ # /etc/rc.d/rc998.embedded - stop blinking __FLI4LVER__ # # Creation: 29.11.2005 hh # Last Update: $Id$ #------------------------------------------------------------------------------ case $OPT_EMBEDDED in yes) begin_script EMBEDDED "switching embedded LEDs ..." if [ "$EMBEDDED_LED_N" != "0" ] then for i in `seq 1 $EMBEDDED_LED_N`; do echo "led$i off" > /var/run/embedded.fifo done else echo "led1 off" > /var/run/embedded.fifo fi . /var/run/embedded.conf if [ -n "$embedded_ready_led" ] then echo "$embedded_ready_led on" > /var/run/embedded.fifo fi if [ -n "$embedded_wlan_led" ] then if ip link show $EMBEDDED_WLAN_DEV 2>/dev/null | grep -q "[<,]UP[,>]" then echo "$embedded_wlan_led on" > /var/run/embedded.fifo fi fi if [ -n "$embedded_user_led" ] then . $embedded_user_script fi case $EMBEDDED_LCD in no) ;; *) lcdfile="/etc/lcd_text${EMBEDDED_LCD}.txt" /usr/local/bin/embedded_temp.sh $lcdfile & ;; esac end_script ;; esac