summaryrefslogtreecommitdiff
path: root/target/linux/kirkwood/base-files/etc/uci-defaults/01_leds
diff options
context:
space:
mode:
authorluka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73>2014-02-15 23:53:10 +0000
committerluka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73>2014-02-15 23:53:10 +0000
commitee87a993c1705879aa58d000dd515a6eec6ae24e (patch)
treebff0715242b565ebddf74d1cbf177d9e1c152eca /target/linux/kirkwood/base-files/etc/uci-defaults/01_leds
parent16476be51e096e1ffa108e804d322c3e22ea76cf (diff)
kirkwood: update support for dockstar
The board is optimized for ubi(fs) and boots OpenWrt without changes to uboot environment if OpenWrt's uboot package is used. In order to flash the image run following commands in uboot shell: nand erase 0x200000 0xfe00000 ubi part root ; ubi remove rootfs ; ubi create rootfs tftpboot 0x800000 openwrt-kirkwood-dockstar-rootfs.ubifs ; ubi write 0x800000 rootfs ${filesize} ; reset Signed-off-by: Luka Perkov <luka@openwrt.org> Tested-by: Alexander Couzens <lynxis@fe80.eu> CC: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39593 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/kirkwood/base-files/etc/uci-defaults/01_leds')
-rw-r--r--target/linux/kirkwood/base-files/etc/uci-defaults/01_leds6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/kirkwood/base-files/etc/uci-defaults/01_leds b/target/linux/kirkwood/base-files/etc/uci-defaults/01_leds
index 5c34cd6cd6..1600464da4 100644
--- a/target/linux/kirkwood/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/kirkwood/base-files/etc/uci-defaults/01_leds
@@ -6,9 +6,9 @@
. /lib/functions/uci-defaults.sh
case "`cat /proc/device-tree/model`" in
-"Seagate FreeAgent DockStar")
- ucidef_set_led_netdev "eth0" "dockstar:orange:misc" "eth0"
- ucidef_set_led_default "health" "dockstar:green:health" "1"
+"Seagate FreeAgent Dockstar")
+ ucidef_set_led_default "health" "status:green:health" "1"
+ ucidef_set_led_default "fault" "status:orange:fault" "1"
;;
"Cloud Engines Pogoplug E02")
ucidef_set_led_default "health" "status:green:health" "1"