Add timeout to ipconfig call
Signed-off-by: David Thurstenson <thurstylark@gmail.com>
This commit is contained in:
parent
201aa13bb4
commit
ae854ed712
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue