add a temporary patch to make the wndap330's ethernet work
[openwrt.git] / target / linux / rdc / base-files / etc / preinit.arch
1 # Copyright (C) 2008 OpenWrt.org
2
3 ash -c ". /etc/functions.sh
4 hdr=\$(find_mtd_part productinfo)
5 [ \$(find_mtd_part productinfo_parthdr) ] || rev=reverse
6 [ \"\$hdr\" ] && mac=\$(hexdump -n 6 -e '6/1 \",0x%X\"' \$hdr |cut -c2-)
7 [ \"\$mac\" = \"0x0,0x0,0x0,0x0,0x0,0x0\" ] && unset mac
8 [ \"\$mac\" ] && insmod r6040 \$rev mac_base=\$mac"
This page took 0.042966 seconds and 5 git commands to generate.