Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/hooks
diff options
context:
space:
mode:
authorDavid Thurstenson <thurstylark@gmail.com>2017-03-10 14:01:05 -0600
committerGerardo Exequiel Pozzi <vmlinuz386@gmail.com>2017-03-14 11:12:29 -0300
commita914269eecca066e8dfe53ae16b5443f232dc498 (patch)
tree9a0ddd476f1821ac8e46152a744c068659c2411f /hooks
parent405eb7dd48921b85f37d5738a404798b685fd043 (diff)
Add timeout to ipconfig call
Signed-off-by: David Thurstenson <thurstylark@gmail.com>
Diffstat (limited to 'hooks')
-rw-r--r--hooks/archiso_pxe_common2
1 files changed, 1 insertions, 1 deletions
diff --git a/hooks/archiso_pxe_common b/hooks/archiso_pxe_common
index 422e4f7..96a10c5 100644
--- a/hooks/archiso_pxe_common
+++ b/hooks/archiso_pxe_common
@@ -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"