renaming of the IP175C switch driver brioke switch detection on the Dir-300 and others, fix it
SVN-Revision: 22363
This commit is contained in:
parent
ce8858061b
commit
878267db01
1 changed files with 4 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
||||||
#!/bin/sh
|
#!/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
|
uci batch <<EOF
|
||||||
set network.eth0=switch
|
set network.eth0=switch
|
||||||
set network.eth0.name=eth0
|
set network.eth0.name=eth0
|
||||||
|
|
Loading…
Reference in a new issue