summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorColin Watson <cjwatson@ubuntu.com>2008-12-14 18:59:49 +0100
committermaximilian attems <maks@debian.org>2008-12-14 18:59:49 +0100
commitf15c3530c08e95f3270cbd073b5f83df81f06bbf (patch)
treeb2f5f1299990075332ef5c82868324550c17387f /scripts
parented4f203aceb2af1355e25142b2849598c867ffdd (diff)
downloadinitramfs-tools-f15c3530c08e95f3270cbd073b5f83df81f06bbf.tar.gz
initramfs-tools-f15c3530c08e95f3270cbd073b5f83df81f06bbf.zip
scripts/functions: Call ipconfig with a one-minute timeout
rather than waiting forever (LP: #182940).
Diffstat (limited to 'scripts')
-rw-r--r--scripts/functions6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/functions b/scripts/functions
index 299c29c..560184b 100644
--- a/scripts/functions
+++ b/scripts/functions
@@ -268,13 +268,13 @@ configure_networking()
;;
""|on|any)
# Bring up device
- ipconfig ${DEVICE}
+ ipconfig -t 60 ${DEVICE}
;;
dhcp|bootp|rarp|both)
- ipconfig -c ${IPOPTS} -d ${DEVICE}
+ ipconfig -t 60 -c ${IPOPTS} -d ${DEVICE}
;;
*)
- ipconfig -d $IPOPTS
+ ipconfig -t 60 -d $IPOPTS
# grab device entry from ip option
NEW_DEVICE=${IPOPTS#*:*:*:*:*:*}