diff options
author | Florian Fainelli <florian@openwrt.org> | 2008-10-28 18:52:50 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2008-10-28 18:52:50 +0000 |
commit | c4a090057e3d500b67ccc2288e976a53f7cdd47f (patch) | |
tree | 0cd59819f86b96f872cc923ba07ca95d87c7c614 /target/linux/rdc/base-files/etc | |
parent | 3ab58731a8447650da76763f0129f0e54ed5570f (diff) | |
download | upstream-c4a090057e3d500b67ccc2288e976a53f7cdd47f.tar.gz upstream-c4a090057e3d500b67ccc2288e976a53f7cdd47f.tar.bz2 upstream-c4a090057e3d500b67ccc2288e976a53f7cdd47f.zip |
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')
-rw-r--r-- | target/linux/rdc/base-files/etc/config/network | 19 | ||||
-rw-r--r-- | target/linux/rdc/base-files/etc/inittab | 5 | ||||
-rw-r--r-- | target/linux/rdc/base-files/etc/preinit.arch | 8 |
3 files changed, 8 insertions, 24 deletions
diff --git a/target/linux/rdc/base-files/etc/config/network b/target/linux/rdc/base-files/etc/config/network deleted file mode 100644 index 4e55afd9b1..0000000000 --- a/target/linux/rdc/base-files/etc/config/network +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright (C) 2008 OpenWrt.org - -config interface loopback - option ifname lo - option proto static - option ipaddr 127.0.0.1 - option netmask 255.0.0.0 - -config interface lan - option ifname eth1 - option type bridge - option proto static - option ipaddr 192.168.1.1 - option netmask 255.255.255.0 - -config interface wan - option ifname eth0 - option proto dhcp - diff --git a/target/linux/rdc/base-files/etc/inittab b/target/linux/rdc/base-files/etc/inittab deleted file mode 100644 index 02b920c8d0..0000000000 --- a/target/linux/rdc/base-files/etc/inittab +++ /dev/null @@ -1,5 +0,0 @@ -::sysinit:/etc/init.d/rcS S boot -::shutdown:/etc/init.d/rcS K stop -tts/0::askfirst:/bin/ash --login -ttyS0::askfirst:/bin/ash --login -ttyS1::askfirst:/bin/ash --login 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" |