2012-05-29 16:39:15 +00:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
2013-10-14 19:46:40 +00:00
|
|
|
# Copyright (C) 2012-2013 OpenWrt.org
|
2012-05-29 16:39:15 +00:00
|
|
|
#
|
|
|
|
|
2012-06-13 18:41:42 +00:00
|
|
|
. /lib/functions/uci-defaults.sh
|
2012-05-29 16:39:15 +00:00
|
|
|
|
2013-10-14 19:46:40 +00:00
|
|
|
case "`cat /proc/device-tree/model`" in
|
2012-05-29 16:39:15 +00:00
|
|
|
"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
|