Add timeout to ipconfig call
Signed-off-by: David Thurstenson <thurstylark@gmail.com>
This commit is contained in:
parent
201aa13bb4
commit
ae854ed712
@ -26,7 +26,7 @@ run_hook () {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# setup network and save some values
|
# 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 "ERROR; Failed to configure network"
|
||||||
echo " Falling back to interactive prompt"
|
echo " Falling back to interactive prompt"
|
||||||
echo " You can try to fix the problem manually, log out when you are finished"
|
echo " You can try to fix the problem manually, log out when you are finished"
|
||||||
|
Loading…
Reference in New Issue
Block a user