Commit 21c44d52 authored by Ivan A. Melnikov's avatar Ivan A. Melnikov Committed by Michael Shigorin

use/net-eth: increase DHCP timeout

bfk3 needs more than 10 seconds to bring the interface up and get the lease. TODO: make this configurable.
parent e3b4c357
...@@ -38,7 +38,11 @@ write_etcnet_iface() { ...@@ -38,7 +38,11 @@ write_etcnet_iface() {
append= append=
case "$proto" in case "$proto" in
dhcp) dhcp)
append="DHCP_TIMEOUT=7" if [ $GLOBAL_ARCH = mipsel ]; then
append="DHCP_TIMEOUT=20"
else
append="DHCP_TIMEOUT=7"
fi
;; ;;
static) static)
echo "$ipv4addr" > "$dir/ipv4address" echo "$ipv4addr" > "$dir/ipv4address"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment