1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-27 19:37:10 +02:00

[backfire] merge r22363

git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@22364 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow 2010-07-23 10:40:45 +00:00
parent 6ef6628ddb
commit e05e095d4d

View File

@ -1,5 +1,8 @@
#!/bin/sh
if [ -e "/sys/bus/mdio_bus/drivers/IC+ IP175C/0:00" -a -x /sbin/swconfig ]; then
if [ -e "/sys/bus/mdio_bus/drivers/IC+ IP175C/0:00" -o \
-e "/sys/bus/mdio_bus/drivers/IC+ IP17xx/0:00" ] && \
[ -x /sbin/swconfig ];
then
uci batch <<EOF
set network.eth0=switch
set network.eth0.name=eth0