projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[kernel/2.6.38] refresh patches
[openwrt.git]
/
target
/
linux
/
atheros
/
base-files
/
etc
/
uci-defaults
/
network
diff --git
a/target/linux/atheros/base-files/etc/uci-defaults/network
b/target/linux/atheros/base-files/etc/uci-defaults/network
index
89ea9a1
..
7e91e6a
100644
(file)
--- a/
target/linux/atheros/base-files/etc/uci-defaults/network
+++ b/
target/linux/atheros/base-files/etc/uci-defaults/network
@@
-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
set network.eth0=switch
set network.eth0.name=eth0
uci batch <<EOF
set network.eth0=switch
set network.eth0.name=eth0
This page took
0.022675 seconds
and
4
git commands to generate.