Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mkimage-profiles
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
mkimage-profiles
Commits
21c44d52
Commit
21c44d52
authored
Mar 05, 2019
by
Ivan A. Melnikov
Committed by
Michael Shigorin
Sep 30, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
50-net-eth
features.in/net-eth/rootfs/image-scripts.d/50-net-eth
+5
-1
No files found.
features.in/net-eth/rootfs/image-scripts.d/50-net-eth
View file @
21c44d52
...
@@ -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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment