[ppc40x] fix a section mismatch on 2.6.30
[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.05226 seconds and 5 git commands to generate.