mirror of https://github.com/OpenIPC/firmware.git
When Wi-Fi used ethernet still be initialized notmally
parent
ab86bc420f
commit
b4e7cfa2c1
|
@ -12,7 +12,7 @@ set_wireless() {
|
||||||
elif $path/modem "$dev"; then
|
elif $path/modem "$dev"; then
|
||||||
ifup usb0
|
ifup usb0
|
||||||
fi
|
fi
|
||||||
[ -e /sys/class/net/eth0 ] && ifconfig eth0 "${net:-192.168.2.10}"
|
[ -e /sys/class/net/eth0 ] && ifup eth0
|
||||||
}
|
}
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
|
|
Loading…
Reference in New Issue