mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
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
This commit is contained in:
8
target/linux/rdc/base-files/etc/preinit.arch
Normal file
8
target/linux/rdc/base-files/etc/preinit.arch
Normal file
@@ -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"
|
||||
Reference in New Issue
Block a user