mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-27 01:41:05 +02:00
[atheros] renaming of the IP175C switch driver brioke switch detection on the Dir-300 and others, fix it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22363 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
5d3c63551a
commit
8c71102761
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user