3 preinit_set_mac_address
() {
7 ip link
set dev eth0 address $
(fritz_tffs
-n maca
-i $
(find_mtd_part
"tffs (1)"))
10 ip link
set dev eth0 address $
(mtd_get_mac_ascii bdcfg
"lanmac")
11 ip link
set dev eth1 address $
(mtd_get_mac_ascii bdcfg
"wanmac")
14 ip link
set dev eth0 address $
(mtd_get_mac_ascii u-boot-env0 ethaddr
)
17 ip link
set dev eth0 address $
(mtd_get_mac_ascii cfg1 ethaddr
)
22 boot_hook_add preinit_main preinit_set_mac_address