kirkwood: add support for Linksys EA4500
[openwrt.git] / target / linux / kirkwood / base-files / etc / uci-defaults / 01_leds
1 #!/bin/sh
2 #
3 # Copyright (C) 2012-2014 OpenWrt.org
4 #
5
6 . /lib/functions/uci-defaults.sh
7
8 case "`cat /proc/device-tree/model`" in
9 "Seagate FreeAgent Dockstar")
10         ucidef_set_led_default "health" "status:green:health" "1"
11         ucidef_set_led_default "fault" "status:orange:fault" "1"
12         ;;
13 "Cloud Engines Pogoplug E02")
14         ucidef_set_led_default "health" "status:green:health" "1"
15         ucidef_set_led_default "fault" "status:orange:fault" "1"
16         ;;
17 "Linksys EA4500")
18         ucidef_set_led_default "health" "ea4500:white:health" "1"
19         ucidef_set_led_default "pulse" "ea4500:white:pulse" "1"
20         ;;
21 *)
22         ;;
23 esac
24
25 ucidef_commit_leds
26
27 exit 0