Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
archiso
Commits
ae854ed7
Commit
ae854ed7
authored
Mar 10, 2017
by
David Thurstenson
Committed by
Gerardo Exequiel Pozzi
Mar 14, 2017
Browse files
Add timeout to ipconfig call
Signed-off-by:
David Thurstenson
<
thurstylark@gmail.com
>
parent
201aa13b
Changes
1
Hide whitespace changes
Inline
Side-by-side
archiso/initcpio/hooks/archiso_pxe_common
View file @
ae854ed7
...
...
@@ -26,7 +26,7 @@ run_hook () {
fi
# setup network and save some values
if
!
ipconfig
"ip=
${
ip
}
"
;
then
if
!
ipconfig
-t
20
"ip=
${
ip
}
"
;
then
echo
"ERROR; Failed to configure network"
echo
" Falling back to interactive prompt"
echo
" You can try to fix the problem manually, log out when you are finished"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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