[ar71xx] create profile for the WRT400N board
[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.049468 seconds and 5 git commands to generate.