ramips: set preinit interface mac on the hw550-3g board
Based on a patch by Daniel Golle <dgolle@allnet.de> SVN-Revision: 29453
This commit is contained in:
parent
b5d7b359b2
commit
750d560767
1 changed files with 4 additions and 0 deletions
|
@ -13,6 +13,10 @@ preinit_set_mac_address() {
|
|||
mac=$(maccalc or "$mac" "02:00:00:00:00:00")
|
||||
ifconfig eth0 hw ether $mac 2>/dev/null
|
||||
;;
|
||||
hw550-3g)
|
||||
mac=$(ramips_get_mac_binary factory 40)
|
||||
ifconfig eth0 hw ether $mac 2>/dev/null
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue