forked from altcloud/mkimage-profiles
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.
This commit is contained in:
parent
e3b4c35782
commit
21c44d52ec
@ -38,7 +38,11 @@ write_etcnet_iface() {
|
||||
append=
|
||||
case "$proto" in
|
||||
dhcp)
|
||||
append="DHCP_TIMEOUT=7"
|
||||
if [ $GLOBAL_ARCH = mipsel ]; then
|
||||
append="DHCP_TIMEOUT=20"
|
||||
else
|
||||
append="DHCP_TIMEOUT=7"
|
||||
fi
|
||||
;;
|
||||
static)
|
||||
echo "$ipv4addr" > "$dir/ipv4address"
|
||||
|
Loading…
Reference in New Issue
Block a user