diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2015-10-08 10:01:30 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2015-10-08 10:01:30 +0000 |
commit | 8bb23cfb663f8870f431edba0dab218a746456a3 (patch) | |
tree | 65986ebcfaccf8aa84742ef9df45d56d0ecc356a /target/linux/mvebu/base-files/lib/preinit | |
parent | b3454610702d452f790aa40e7a40b536a73ee8ab (diff) | |
download | upstream-8bb23cfb663f8870f431edba0dab218a746456a3.tar.gz upstream-8bb23cfb663f8870f431edba0dab218a746456a3.tar.bz2 upstream-8bb23cfb663f8870f431edba0dab218a746456a3.zip |
mvebu: add support for the Linksys WRT1900ACS (Shelby)
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 47164
Diffstat (limited to 'target/linux/mvebu/base-files/lib/preinit')
-rw-r--r-- | target/linux/mvebu/base-files/lib/preinit/06_set_iface_mac | 2 | ||||
-rw-r--r-- | target/linux/mvebu/base-files/lib/preinit/81_linksys_syscfg | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/mvebu/base-files/lib/preinit/06_set_iface_mac b/target/linux/mvebu/base-files/lib/preinit/06_set_iface_mac index 9fc8d9a0ce..876c08b771 100644 --- a/target/linux/mvebu/base-files/lib/preinit/06_set_iface_mac +++ b/target/linux/mvebu/base-files/lib/preinit/06_set_iface_mac @@ -14,7 +14,7 @@ preinit_set_mac_address() { ifconfig eth0 hw ether $mac 2>/dev/null ifconfig eth1 hw ether $mac 2>/dev/null ;; - armada-385-linksys-caiman|armada-385-linksys-cobra) + armada-385-linksys-caiman|armada-385-linksys-cobra|armada-385-linksys-shelby) mac=$(mtd_get_mac_ascii devinfo hw_mac_addr) mac_wan=$(macaddr_setbit_la "$mac") ifconfig eth1 hw ether $mac 2>/dev/null diff --git a/target/linux/mvebu/base-files/lib/preinit/81_linksys_syscfg b/target/linux/mvebu/base-files/lib/preinit/81_linksys_syscfg index d665cb14aa..a54226f00c 100644 --- a/target/linux/mvebu/base-files/lib/preinit/81_linksys_syscfg +++ b/target/linux/mvebu/base-files/lib/preinit/81_linksys_syscfg @@ -8,7 +8,7 @@ preinit_mount_syscfg() { . /lib/mvebu.sh case $(mvebu_board_name) in - armada-385-linksys-caiman|armada-385-linksys-cobra|armada-xp-linksys-mamba) + armada-385-linksys-caiman|armada-385-linksys-cobra|armada-385-linksys-shelby|armada-xp-linksys-mamba) needs_recovery=0 ubiattach -m 8 || needs_recovery=1 if [ $needs_recovery -eq 1 ] |