ramips: remove needless setting of lan_mac to eth0 in 02_network
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sun, 21 Jul 2019 00:05:53 +0000 (02:05 +0200)
committerChuanhong Guo <gch981213@gmail.com>
Thu, 25 Jul 2019 14:07:21 +0000 (22:07 +0800)
commitee650ba46ca9cbd893f7e0cb06cf24cdabfa6ae7
tree6efd16c18652e8d0af30e53b97bc1c8b617f921b
parentf72d2ba60a5238d52ceaccd8e3e4b193a4534229
ramips: remove needless setting of lan_mac to eth0 in 02_network

This removes superfluous lines like
lan_mac=$(cat /sys/class/net/eth0/address)

Since lan_mac only sets the MAC address for eth0.1, these lines
can be safely removed as the address will be inherited from eth0
anyway.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
target/linux/ramips/base-files/etc/board.d/02_network