aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/kirkwood/base-files/etc
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2013-10-31 12:04:04 +0000
committerLuka Perkov <luka@openwrt.org>2013-10-31 12:04:04 +0000
commite00bc81a56da1b9aed2a4114ab64b8ea015507c5 (patch)
tree11c121110189270ae67593c23814a01d45a7a00e /target/linux/kirkwood/base-files/etc
parent2b0fa00da8fc26e34f08680670f4637766bbd3e8 (diff)
downloadupstream-e00bc81a56da1b9aed2a4114ab64b8ea015507c5.tar.gz
upstream-e00bc81a56da1b9aed2a4114ab64b8ea015507c5.tar.bz2
upstream-e00bc81a56da1b9aed2a4114ab64b8ea015507c5.zip
kirkwood: add userland support for Pogoplug E02
This patch adds the userland support for the Pogoplug E02 by Cloud Engines, Inc. Signed-off-by: Felix Kaechele <heffer@fedoraproject.org> SVN-Revision: 38631
Diffstat (limited to 'target/linux/kirkwood/base-files/etc')
-rw-r--r--target/linux/kirkwood/base-files/etc/uci-defaults/01_leds4
-rw-r--r--target/linux/kirkwood/base-files/etc/uci-defaults/02_network3
2 files changed, 7 insertions, 0 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 7e2018853a..5c34cd6cd6 100644
--- a/target/linux/kirkwood/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/kirkwood/base-files/etc/uci-defaults/01_leds
@@ -10,6 +10,10 @@ case "`cat /proc/device-tree/model`" in
ucidef_set_led_netdev "eth0" "dockstar:orange:misc" "eth0"
ucidef_set_led_default "health" "dockstar:green:health" "1"
;;
+"Cloud Engines Pogoplug E02")
+ ucidef_set_led_default "health" "status:green:health" "1"
+ ucidef_set_led_default "fault" "status:orange:fault" "1"
+ ;;
*)
;;
esac
diff --git a/target/linux/kirkwood/base-files/etc/uci-defaults/02_network b/target/linux/kirkwood/base-files/etc/uci-defaults/02_network
index 42724ef706..bf95f72cb8 100644
--- a/target/linux/kirkwood/base-files/etc/uci-defaults/02_network
+++ b/target/linux/kirkwood/base-files/etc/uci-defaults/02_network
@@ -32,6 +32,9 @@ case "`cat /proc/device-tree/model`" in
"RaidSonic ICY BOX IB-NAS62x0 (Rev B)")
set_lan_dhcp "eth0"
;;
+"Cloud Engines Pogoplug E02")
+ set_lan_dhcp "eth0"
+ ;;
*)
ucidef_set_interface_lan "eth0"
;;