diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2011-12-05 17:27:07 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2011-12-05 17:27:07 +0000 |
commit | 287e495fdd697e3def6277627ffc8da0fffd466d (patch) | |
tree | 96639f2c64211282d407594fed9562405a6f696b /target/linux/ramips/base-files/lib/preinit | |
parent | 306d52b8dadf8e05eb5a1af9434dc8931fcee137 (diff) | |
download | master-187ad058-287e495fdd697e3def6277627ffc8da0fffd466d.tar.gz master-187ad058-287e495fdd697e3def6277627ffc8da0fffd466d.tar.bz2 master-187ad058-287e495fdd697e3def6277627ffc8da0fffd466d.zip |
ramips: set mac addresses for the NBG-419N
Based on a patch by Nerijus Baliunas <nerijus@users.sourceforge.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29454 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files/lib/preinit')
-rw-r--r-- | target/linux/ramips/base-files/lib/preinit/06_set_iface_mac | 3 |
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 2d6a4b6dee..69b9cdfa59 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 @@ -13,7 +13,8 @@ preinit_set_mac_address() { mac=$(maccalc or "$mac" "02:00:00:00:00:00") ifconfig eth0 hw ether $mac 2>/dev/null ;; - hw550-3g) + hw550-3g |\ + nbg-419n) mac=$(ramips_get_mac_binary factory 40) ifconfig eth0 hw ether $mac 2>/dev/null ;; |