diff options
author | John Crispin <blogic@openwrt.org> | 2015-07-24 08:58:33 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2015-07-24 08:58:33 +0000 |
commit | 1a8913550284e5c0ed1c24439def5f4b0c430733 (patch) | |
tree | 61c68c9bea43c7ab9bdb38c26417c6ad3e92233c /target/linux/ar71xx/base-files/etc | |
parent | 53fcc22809d7e08ffded4ad2e162ff863c59acff (diff) | |
download | upstream-1a8913550284e5c0ed1c24439def5f4b0c430733.tar.gz upstream-1a8913550284e5c0ed1c24439def5f4b0c430733.tar.bz2 upstream-1a8913550284e5c0ed1c24439def5f4b0c430733.zip |
CC: ar71xx: add user-space support for EnGenius EPG5000.
Backport of r46048.
Signed-off-by: Christian Beier <cb@shoutrlabs.com>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46447 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rw-r--r-- | target/linux/ar71xx/base-files/etc/diag.sh | 3 | ||||
-rw-r--r-- | target/linux/ar71xx/base-files/etc/uci-defaults/02_network | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index bce01f0bb4..7ff5a8e1d6 100644 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -99,6 +99,9 @@ get_status_led() { gl-inet) status_led="gl-connect:green:lan" ;; + epg5000) + status_led="epg5000:amber:power" + ;; esr1750) status_led="esr1750:amber:power" ;; diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network index c76b875aab..4b8a3ec3ea 100644 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network @@ -30,7 +30,8 @@ wlr8100) ucidef_add_switch_vlan "switch0" "2" "0t 1" ;; -esr1750) +esr1750 |\ +epg5000) ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2" ucidef_add_switch "switch0" "1" "1" ucidef_add_switch_vlan "switch0" "1" "0t 2 3 4 5" |