diff options
author | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-10-28 18:52:50 +0000 |
---|---|---|
committer | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-10-28 18:52:50 +0000 |
commit | 7f7b8d65305915809100b848a1ffd3dfc92c8d3f (patch) | |
tree | 0cd59819f86b96f872cc923ba07ca95d87c7c614 /target/linux/rdc/base-files/etc/preinit.arch | |
parent | 0670de62260b122bf4c8446dbdcf9a1055719583 (diff) |
Remove some configuration files, workarounds are now in the ethernet driver, thanks sn9
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13062 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/rdc/base-files/etc/preinit.arch')
-rw-r--r-- | target/linux/rdc/base-files/etc/preinit.arch | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/rdc/base-files/etc/preinit.arch b/target/linux/rdc/base-files/etc/preinit.arch new file mode 100644 index 0000000000..8f21b1f9ed --- /dev/null +++ b/target/linux/rdc/base-files/etc/preinit.arch @@ -0,0 +1,8 @@ +# Copyright (C) 2008 OpenWrt.org + +ash -c ". /etc/functions.sh +hdr=\$(find_mtd_part productinfo) +[ \$(find_mtd_part productinfo_parthdr) ] || rev=reverse +[ \"\$hdr\" ] && mac=\$(hexdump -n 6 -e '6/1 \",0x%X\"' \$hdr |cut -c2-) +[ \"\$mac\" = \"0x0,0x0,0x0,0x0,0x0,0x0\" ] && unset mac +[ \"\$mac\" ] && insmod r6040 \$rev mac_base=\$mac" |