3f7fe71c0a0c6e2a84fbc3b47fb724b9f01398a1
[openwrt/openwrt.git] / target / linux / kirkwood / base-files / etc / board.d / 01_leds
1 #!/bin/sh
2 #
3 # Copyright (C) 2012-2015 OpenWrt.org
4 #
5
6 . /lib/functions/uci-defaults.sh
7
8 board_config_update
9
10 board=$(board_name)
11
12 case "$board" in
13 iom,ix2-200)
14 ucidef_set_led_timer "health" "health" "status:white:rebuild_led" "200" "800"
15 ;;
16 linksys,e4200-v2|\
17 linksys,ea4500)
18 ucidef_set_led_default "pulse" "pulse" "viper:white:pulse" "1"
19 ;;
20 esac
21
22 board_config_flush
23
24 exit 0