X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/ad3e5bb07833a31add352653c4f418854e30023c..64435afc83db0412d180ee6c9a0d177b3d45568f:/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac 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 f1d641cd2..9a4d515b1 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 @@ -8,7 +8,9 @@ preinit_set_mac_address() { . /lib/ramips.sh case $(ramips_board_name) in - bc2 | nw718 | esr-9753) + bc2 |\ + nw718 |\ + esr-9753) mac=$(ramips_get_mac_binary factory 4) mac=$(maccalc or "$mac" "02:00:00:00:00:00") ifconfig eth0 hw ether $mac 2>/dev/null @@ -19,6 +21,7 @@ preinit_set_mac_address() { mac=$(ramips_get_mac_binary devdata 16388) ifconfig eth0 hw ether $mac 2>/dev/null ;; + all0256n |\ hw550-3g |\ nbg-419n |\ omni-emb |\