mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-30 18:14:04 +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:
parent
6ef6628ddb
commit
e05e095d4d
@ -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 New Issue
Block a user