bbe689bbb5637daeb5183f2f49df4156dee8bf69
[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,viper")
17 ucidef_set_led_default "pulse" "pulse" "viper:white:pulse" "1"
18 ;;
19 esac
20
21 board_config_flush
22
23 exit 0