aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/lib/preinit
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-08-01 14:31:04 +0000
committerJohn Crispin <john@openwrt.org>2013-08-01 14:31:04 +0000
commit54968110f119a4aa7e9e536f6c2a4a3a973607ea (patch)
treed6eb266d47c0063019f10e86351148122ec8efe6 /target/linux/ramips/base-files/lib/preinit
parent0dc3b44b0de4aee29a9de9b8f24f302e4d08d7a3 (diff)
downloadupstream-54968110f119a4aa7e9e536f6c2a4a3a973607ea.tar.gz
upstream-54968110f119a4aa7e9e536f6c2a4a3a973607ea.tar.bz2
upstream-54968110f119a4aa7e9e536f6c2a4a3a973607ea.zip
ramips: add Poray X5/X6 Support
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org> SVN-Revision: 37638
Diffstat (limited to 'target/linux/ramips/base-files/lib/preinit')
-rw-r--r--target/linux/ramips/base-files/lib/preinit/06_set_iface_mac3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac b/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac
index f9aabd5c4e..30732339f1 100644
--- a/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac
+++ b/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac
@@ -76,7 +76,8 @@ preinit_set_mac_address() {
ifconfig eth0 hw ether $mac 2>/dev/null
;;
m3 |\
- m4)
+ m4 |\
+ x5)
mac=$(mtd_get_mac_binary factory 4)
mac=$(macaddr_add "$mac" -1)
ifconfig eth0 hw ether $mac 2>/dev/null