2012-05-29 16:39:15 +00:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
# Copyright (C) 2012 OpenWrt.org
|
|
|
|
#
|
|
|
|
|
2012-05-29 16:39:20 +00:00
|
|
|
. /lib/fuctions/uci-defaults.sh
|
2012-05-29 16:39:15 +00:00
|
|
|
. /lib/kirkwood.sh
|
|
|
|
|
|
|
|
hardware=$(kirkwood_hardware_name)
|
|
|
|
|
|
|
|
case "$hardware" in
|
|
|
|
"Seagate FreeAgent DockStar")
|
2012-05-29 16:39:20 +00:00
|
|
|
ucidef_set_led_netdev "eth0" "dockstar:orange:misc" "eth0"
|
|
|
|
ucidef_set_led_default "health" "dockstar:green:health" "1"
|
2012-05-29 16:39:15 +00:00
|
|
|
;;
|
|
|
|
|
|
|
|
*)
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
2012-05-29 16:39:20 +00:00
|
|
|
ucidef_commit_leds
|
2012-05-29 16:39:15 +00:00
|
|
|
|
|
|
|
exit 0
|