Commit ae854ed7 authored by David Thurstenson's avatar David Thurstenson Committed by Gerardo Exequiel Pozzi
Browse files

Add timeout to ipconfig call


Signed-off-by: David Thurstenson's avatarDavid Thurstenson <thurstylark@gmail.com>
parent 201aa13b
......@@ -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"
......
Supports Markdown
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